diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-20 14:48:00 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-20 14:48:00 +0000 |
commit | 6e2ea33ba70a7d6b6ffa614a8fe57fe7662b7c70 (patch) | |
tree | 9f5e9518021b69891a65f8bf25f8ad1768a2b8b7 /acinclude.m4 | |
parent | faaa78e8988895aecf12f5ef113d3683c7986999 (diff) |
Create a common HAL abstraction layer
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 2eac9315..cdc2a047 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -153,6 +153,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ pie_enable=no inotify_enable=${inotify_found} expat_enable=${expat_found} + hal_enable=${hal_found} usb_enable=${usb_found} glib_enable=no obex_enable=${openobex_found} @@ -214,6 +215,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [ expat_enable=${enableval} ]) + AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal], [enable HAL support]), [ + hal_enable=${enableval} + ]) + AC_ARG_ENABLE(usb, AC_HELP_STRING([--enable-usb], [enable USB support]), [ usb_enable=${enableval} ]) @@ -326,6 +331,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AC_SUBST([SBC_LIBS], ['$(top_builddir)/sbc/libsbc.la']) AM_CONDITIONAL(INOTIFY, test "${inotify_enable}" = "yes" && test "${inotify_found}" = "yes") + AM_CONDITIONAL(HAL, test "${hal_enable}" = "yes" && test "${hal_found}" = "yes") AM_CONDITIONAL(USB, test "${usb_enable}" = "yes" && test "${usb_found}" = "yes") AM_CONDITIONAL(OBEX, test "${obex_enable}" = "yes" && test "${openobex_found}" = "yes") AM_CONDITIONAL(NETWORKSERVICE, test "${network_enable}" = "yes") |