commit 483dc5ef924ce05897d9215943ed1328c3bc8416
parent c22d70986961774fbcaad28005dc4250a74dfe13
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 13 May 2019 07:41:18 +0200
use AS_CASE/AS_IF
Diffstat:
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -792,20 +792,14 @@ AS_IF([test "x$HAVE_FLAC_TRUE" = "x#"],
AS_IF([test "x$HAVE_SMF_TRUE" = "x#"],
[AC_MSG_NOTICE([NOTICE: libsmf not found, midi support disabled])])
-if test "x$HAVE_MPEG2_TRUE" = "x#"
-then
- AC_MSG_NOTICE([NOTICE: libmpeg2 not found, mpeg2 support disabled])
-fi
-
-if test "x$HAVE_MP4V2_TRUE" = "x#"
-then
- AC_MSG_NOTICE([NOTICE: libmp4v2 not found, mp4 support disabled])
-fi
-
-if test "x$HAVE_CXX" != "xyes"
-then
- AC_MSG_NOTICE([NOTICE: no C++ compiler found (not compiling plugins that require C++)])
-fi
+AS_IF([test "x$HAVE_MPEG2_TRUE" = "x#"],
+ [AC_MSG_NOTICE([NOTICE: libmpeg2 not found, mpeg2 support disabled])])
+
+AS_IF([test "x$HAVE_MP4V2_TRUE" = "x#"],
+ [AC_MSG_NOTICE([NOTICE: libmp4v2 not found, mp4 support disabled])])
+
+AS_IF([test "x$HAVE_CXX" != "xyes"],
+ [AC_MSG_NOTICE([NOTICE: no C++ compiler found (not compiling plugins that require C++)])])
AS_IF([test x$have_gstreamer = xyes -a x$have_gstreamer_pbutils = xyes -a x$have_gstreamer_tag = xyes -a x$have_gstreamer_app = xyes -a ! x$without_glib = xtrue],
[AS_IF([test x$enable_experimental = xyes],