summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-05-13 07:41:18 +0200
committerChristian Grothoff <christian@grothoff.org>2019-05-13 07:41:18 +0200
commit483dc5ef924ce05897d9215943ed1328c3bc8416 (patch)
treeac7b2b900f800d4c29a771728be49f3f0489696f
parentc22d70986961774fbcaad28005dc4250a74dfe13 (diff)
use AS_CASE/AS_IF
-rw-r--r--configure.ac22
1 files changed, 8 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 23bd1b5..0aeaf4d 100644
--- 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],