summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-07 18:42:40 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-07 18:42:40 +0000
commitea8a662a6d9cff397d7e5c868697db15cbee5f41 (patch)
tree782a4456160e99b3e82c879e3a609de1d39e2f06 /acinclude.m4
parent6a1d99dd0014d2212e2586097773f565a658bd3e (diff)
Add check for the OpenSync libraries
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c4bdf917..6c62d0e4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -93,6 +93,12 @@ AC_DEFUN([AC_PATH_OPENOBEX], [
AC_SUBST(OPENOBEX_LIBS)
])
+AC_DEFUN([AC_PATH_OPENSYNC], [
+ PKG_CHECK_MODULES(OPENSYNC, opensync-1.0, opensync_found=yes, AC_MSG_RESULT(no))
+ AC_SUBST(OPENSYNC_CFLAGS)
+ AC_SUBST(OPENSYNC_LIBS)
+])
+
AC_DEFUN([AC_PATH_FUSE], [
PKG_CHECK_MODULES(FUSE, fuse, fuse_found=yes, AC_MSG_RESULT(no))
AC_SUBST(FUSE_CFLAGS)
@@ -226,6 +232,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(GLIB, test "${glib_enable}" = "yes" && test "${glib_found}" = "yes")
AM_CONDITIONAL(OBEX, test "${obex_enable}" = "yes" && test "${openobex_found}" = "yes")
+ AM_CONDITIONAL(SYNC, test "${sync_enable}" = "yes" && test "${opensync_found}" = "yes")
AM_CONDITIONAL(FUSE, test "${fuse_enable}" = "yes" && test "${openobex_found}" = "yes" && test "${fuse_found}" = "yes")
AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")