commit 2af307ac20483656e7ba67734e902765880d67a4
parent d1fe54e512738aeb82696cd107d720e16ebdbc3e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 5 Mar 2014 13:21:17 +0000
configure.ac: updated tests for zzuf and socat for nice printing results
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -494,10 +494,10 @@ AM_CONDITIONAL([HAVE_POSTPROCESSOR],test "x$enable_postprocessor" != "xno")
# optional: have zzuf, socat?
-AC_CHECK_PROG([HAVE_ZZUF],[zzuf], 1, 0)
-AC_CHECK_PROG([HAVE_SOCAT],[socat], 1, 0)
-AM_CONDITIONAL(HAVE_ZZUF, test 0 != $HAVE_ZZUF)
-AM_CONDITIONAL(HAVE_SOCAT, test 0 != $HAVE_SOCAT)
+AC_CHECK_PROG([have_zzuf],[zzuf], [yes], [no])
+AC_CHECK_PROG([have_socat],[socat], [yes], [no])
+AM_CONDITIONAL([HAVE_ZZUF], [test "x$have_zzuf" = "xyes"])
+AM_CONDITIONAL([HAVE_SOCAT], [test "x$have_socat" = "xyes"])
# libgcrypt linkage: required for HTTPS support