[dovecot-cvs] dovecot configure.in,1.134,1.135

cras at procontrol.fi cras at procontrol.fi
Thu Jul 10 18:46:00 EEST 2003


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv12483

Modified Files:
	configure.in 
Log Message:
test -o and -a are apparently non-POSIX. not using.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- configure.in	10 Jul 2003 00:40:25 -0000	1.134
+++ configure.in	10 Jul 2003 14:45:58 -0000	1.135
@@ -496,7 +496,7 @@
 
 dnl * find random source
 AC_MSG_CHECKING([for /dev/urandom])
-if test -c /dev/urandom -o -s /dev/urandom; then
+if test -c /dev/urandom || test -s /dev/urandom; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(HAVE_DEV_URANDOM,, Define if you have /dev/urandom)
   have_random_source=yes
@@ -728,7 +728,7 @@
 	],, -lgcrypt)
 fi
 
-if test "$want_openssl" = "yes" -a "$have_ssl" = "no"; then
+if test "$want_openssl" = "yes" && test "$have_ssl" = "no"; then
   if pkg-config --exists openssl; then
     PKG_CHECK_MODULES(SSL, openssl)
     CFLAGS="$CFLAGS $SSL_CFLAGS"



More information about the dovecot-cvs mailing list