From 8259b96fa0a6797bc853363088bca020cd19b433 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 16 Aug 2018 14:26:25 +0200 Subject: minor fix --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'configure.ac') 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, -- cgit v1.2.3