[dovecot-cvs] dovecot configure.in,1.153,1.154

cras at procontrol.fi cras at procontrol.fi
Wed Apr 28 19:54:34 EEST 2004


Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv11699

Modified Files:
	configure.in 
Log Message:
Put -lcrypt to first in AUTH_LIBS to fix some linking problems with Solaris



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- configure.in	27 Apr 2004 20:25:52 -0000	1.153
+++ configure.in	28 Apr 2004 16:54:32 -0000	1.154
@@ -666,7 +666,7 @@
 ])
 
 dnl * If mmap() plays nicely with write()
-AC_MSG_CHECKING([whether we need to use MS_INVALIDATE with mmaps])
+AC_MSG_CHECKING([whether shared mmaps get updated by write()s])
 AC_TRY_RUN([
   #include <stdio.h>
   #include <sys/types.h>
@@ -698,10 +698,10 @@
     return strcmp(mem, "3") == 0 ? 0 : 1;
   }
 ], [
-  AC_MSG_RESULT(no)
-], [
   AC_MSG_RESULT(yes)
-  AC_DEFINE(NEED_MS_INVALIDATE,, Define if your mmap() implementation requires use of MS_INVALIDATE to work with write())
+], [
+  AC_MSG_RESULT(no)
+  AC_DEFINE(MMAP_CONFLICTS_WRITE,, [Define if shared mmaps don't get updated by write()s])
 ])
 
 
@@ -1041,7 +1041,7 @@
 
 if test $need_crypt = yes; then
 	AC_CHECK_LIB(crypt, crypt, [
-		AUTH_LIBS="$AUTH_LIBS -lcrypt"
+		AUTH_LIBS="-lcrypt $AUTH_LIBS"
 	], [
 		AC_CHECK_FUNC(crypt,, [
 			AC_ERROR([crypt() wasn't found])



More information about the dovecot-cvs mailing list