Browse Source

fix libpulse check

Christian Grothoff 4 years ago
parent
commit
73b6978e22
1 changed files with 4 additions and 1 deletions
  1. 4 1
      configure.ac

+ 4 - 1
configure.ac

@@ -682,7 +682,8 @@ AS_IF([test "x$jansson" = x1],
 
 # check for libpulse(audio) library
 pulse=0
-CHECK_LIBHEADER(LIBPULSE, pulse, pa_stream_peek, pulse/simple.h,jansson=1,)
+libpulse_msg="no"
+CHECK_LIBHEADER(LIBPULSE, pulse, pa_stream_peek, pulse/simple.h,pulse=1,)
 AS_IF([test "$build_target" = "mingw"],
       [pulse=0])
 AS_IF([test "$pulse" = 1],
@@ -691,6 +692,7 @@ AS_IF([test "$pulse" = 1],
 
 # check for libopus(audio) library
 opus=0
+libopus_msg="no"
 CHECK_LIBHEADER(LIBOPUS,
                 opus,
                 opus_decode_float,
@@ -733,6 +735,7 @@ PKG_CHECK_MODULES([GLIB],
    AC_DEFINE([HAVE_PBC],[0],[Lacking glib library])])
 
 gst=0
+gstreamer_msg="no"
 PKG_CHECK_MODULES(
   [GST],
   [glib-2.0 gobject-2.0 gstreamer-1.0 gstreamer-app-1.0 gstreamer-audio-1.0],