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
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
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 Not Zed <NotZed@HelixCode.com>
|
||||
|
||||
* configure.in (AC_OUTPUT): Added camel/tests/folder/Makefile
|
||||
|
||||
@ -22,6 +22,9 @@
|
||||
#undef PGP5_PATH
|
||||
#undef PGP_PATH
|
||||
#undef USING_GNOME_PRINT_0_20
|
||||
#undef USE_DOT
|
||||
#undef USE_FCNTL
|
||||
#undef USE_FLOCK
|
||||
#undef NEED_KRB_SENDAUTH_PROTO
|
||||
#undef HAVE_ISBLANK
|
||||
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
2000-11-28 JP Rosevear <jpr@helixcode.com>
|
||||
|
||||
* camel-lock.c: No longer hard code the enabled lock types
|
||||
|
||||
2000-11-28 Dan Winship <danw@helixcode.com>
|
||||
|
||||
* camel-remote-store.c (remote_recv_line): Don't set exception to
|
||||
|
||||
@ -22,11 +22,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/* need configure checks or some configurable thingy here */
|
||||
#define USE_DOT
|
||||
#define USE_FCNTL
|
||||
#define USE_FLOCK
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
31
configure.in
31
configure.in
@ -186,6 +186,33 @@ THREADS_CFLAGS="`glib-config --cflags gthread`"
|
||||
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 **************************************************
|
||||
@ -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
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user