]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
test -o and -a are apparently non-POSIX. not using.
authorTimo Sirainen <tss@iki.fi>
Thu, 10 Jul 2003 14:45:58 +0000 (17:45 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 10 Jul 2003 14:45:58 +0000 (17:45 +0300)
--HG--
branch : HEAD

configure.in

index cd45c55122984e0128582b47375b191566934085..e72d4e700ae2764ec9e2f6aa0b1f0cd154a03cbb 100644 (file)
@@ -496,7 +496,7 @@ AC_DEFINE_UNQUOTED(INDEX_ALIGN_SIZE, $index_align, Required index alignment)
 
 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 @@ if test $want_gnutls = yes; then
        ],, -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"