summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-15 10:47:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-15 10:47:30 +0000
commit4107ee837ae309c89cdb2684b7c53d5d88407e97 (patch)
treefdd0873110ee8d7974e9a6d1d521edc2745e9a44
parentd41c9740dc32b42bb777c27aacdeaf5b6b732723 (diff)
Set the variables in error case
-rw-r--r--acinclude.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 34d55e0e..95705f92 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -79,37 +79,37 @@ AC_DEFUN([AC_PATH_DBUS], [
])
AC_DEFUN([AC_PATH_GLIB], [
- PKG_CHECK_MODULES(GLIB, glib-2.0, glib_found=yes)
+ PKG_CHECK_MODULES(GLIB, glib-2.0, glib_found=yes, glib_found=no)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
])
AC_DEFUN([AC_PATH_OPENOBEX], [
- PKG_CHECK_MODULES(OPENOBEX, openobex > 1.1, openobex_found=yes)
+ PKG_CHECK_MODULES(OPENOBEX, openobex > 1.1, openobex_found=yes, openobex_found=no)
AC_SUBST(OPENOBEX_CFLAGS)
AC_SUBST(OPENOBEX_LIBS)
])
AC_DEFUN([AC_PATH_OPENSYNC], [
- PKG_CHECK_MODULES(OPENSYNC, glib-2.0 opensync-1.0 osengine-1.0, opensync_found=yes)
+ PKG_CHECK_MODULES(OPENSYNC, glib-2.0 opensync-1.0 osengine-1.0, opensync_found=yes, opensync_found=no)
AC_SUBST(OPENSYNC_CFLAGS)
AC_SUBST(OPENSYNC_LIBS)
])
AC_DEFUN([AC_PATH_GSTREAMER], [
- PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10, gstreamer_found=yes)
+ PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10, gstreamer_found=yes, gstreamer_found=no)
AC_SUBST(GSTREAMER_CFLAGS)
AC_SUBST(GSTREAMER_LIBS)
])
AC_DEFUN([AC_PATH_ALSA], [
- PKG_CHECK_MODULES(ALSA, alsa, alsa_found=yes)
+ PKG_CHECK_MODULES(ALSA, alsa, alsa_found=yes, alsa_found=no)
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
])
AC_DEFUN([AC_PATH_USB], [
- PKG_CHECK_MODULES(USB, libusb, usb_found=yes)
+ PKG_CHECK_MODULES(USB, libusb, usb_found=yes, usb_found=no)
AC_SUBST(USB_CFLAGS)
AC_SUBST(USB_LIBS)
AC_CHECK_LIB(usb, usb_get_busses, dummy=yes,