diff options
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | bluez.m4 | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index c3075ae1..4dbfb31a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,12 @@ SUBDIRS = include src +aclocaldir = $(datadir)/aclocal + +aclocal_DATA = bluez.m4 + +EXTRA_DIST = $(aclocal_DATA) + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = bluez.pc diff --git a/bluez.m4 b/bluez.m4 new file mode 100644 index 00000000..abcbaae2 --- /dev/null +++ b/bluez.m4 @@ -0,0 +1,11 @@ +dnl +dnl $Id$ +dnl + +AC_DEFUN([AM_PATH_BLUEZ], [ + BLUEZ_CFLAGS="" + BLUEZ_LIBS="-lbluetooth" + + AC_SUBST(BLUEZ_CFLAGS) + AC_SUBST(BLUEZ_LIBS) +]) |