minor fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 16 Aug 2018 12:26:25 +0000 (14:26 +0200)
committerChristian Grothoff <christian@grothoff.org>
Thu, 16 Aug 2018 12:26:25 +0000 (14:26 +0200)
configure.ac

index 6a75b1ebf8f3962976e954ae92abf0c5b290563a..89e21f2c8cefcb5c3c6ec18800914187fb8139ad 100644 (file)
@@ -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,