comparison configure.ac @ 13843:2a7a13cac678

[gaim-migrate @ 16297] Report 'no' when not building with these libraries, instead of reporting nothing and having the next message on the same line. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 20 Jun 2006 16:04:00 +0000
parents f3d4a9902ead
children 983fd420e86b
comparison
equal deleted inserted replaced
13842:a9ff4499d9ce 13843:2a7a13cac678
161 161
162 dnl ####################################################################### 162 dnl #######################################################################
163 dnl # GStreamer 163 dnl # GStreamer
164 dnl ####################################################################### 164 dnl #######################################################################
165 enable_gst=yes 165 enable_gst=yes
166 PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10, ,enable_gst=no) 166 PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10], ,
167 [
168 AC_MSG_RESULT(no)
169 enable_gst=no
170 ])
167 AC_SUBST(GSTREAMER_CFLAGS) 171 AC_SUBST(GSTREAMER_CFLAGS)
168 AC_SUBST(GSTREAMER_LIBS) 172 AC_SUBST(GSTREAMER_LIBS)
169 AC_ARG_ENABLE(gstreamer,[ --disable-gstreamer compile without GStreamer audio support],enable_gst=no) 173 AC_ARG_ENABLE(gstreamer,[ --disable-gstreamer compile without GStreamer audio support],enable_gst=no)
170 if test "x$enable_gst" = "xyes"; then 174 if test "x$enable_gst" = "xyes"; then
171 AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for making sounds]) 175 AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for making sounds])
173 177
174 dnl ################# 178 dnl #################
175 dnl # LibXML2 179 dnl # LibXML2
176 dnl ################# 180 dnl #################
177 enable_libxml2=yes 181 enable_libxml2=yes
178 PKG_CHECK_MODULES(LIBXML, libxml-2.0, ,enable_libxml2=no) 182 PKG_CHECK_MODULES(LIBXML, [libxml-2.0], ,
183 [
184 AC_MSG_RESULT(no)
185 enable_libxml2=no
186 ])
179 AC_SUBST(LIBXML_CFLAGS) 187 AC_SUBST(LIBXML_CFLAGS)
180 AC_SUBST(LIBXML_LIBS) 188 AC_SUBST(LIBXML_LIBS)
181 AC_ARG_ENABLE(libxml,[ --disable-libxml compile without libxml2 support],enable_libxml2=no) 189 AC_ARG_ENABLE(libxml,[ --disable-libxml compile without libxml2 support],enable_libxml2=no)
182 if test "x$enable_libxml2" = "xyes"; then 190 if test "x$enable_libxml2" = "xyes"; then
183 AC_DEFINE(HAVE_LIBXML, 1, [Use libxml2 for xml parsing]) 191 AC_DEFINE(HAVE_LIBXML, 1, [Use libxml2 for xml parsing])