diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 7 |
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") |