From: Christian Grothoff Date: Thu, 16 Aug 2018 12:26:25 +0000 (+0200) Subject: minor fix X-Git-Tag: v0.11.0~302 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8259b96fa0a6797bc853363088bca020cd19b433;p=oweals%2Fgnunet.git minor fix --- diff --git a/configure.ac b/configure.ac index 6a75b1ebf..89e21f2c8 100644 --- a/configure.ac +++ b/configure.ac @@ -507,10 +507,8 @@ AC_CHECK_LIB(opus,opus_decode_float, )] )] ) -if test "$opus" = 1 -then - AC_DEFINE([HAVE_OPUS],[1],[Have libopus library]) -fi +AS_IF([test "x$opus" = x1] + [AC_DEFINE([HAVE_OPUS],[1],[Have libopus library])]) # libogg AC_CHECK_LIB(ogg, ogg_stream_flush_fill,