diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-11-23 06:46:40 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-11-23 06:46:40 +0000 |
commit | 518528c36107e8ea6d11b59c97e241f2fec208f3 (patch) | |
tree | 967ef1625b181cae820fe6d912f17734246ca244 | |
parent | 113e48df05d54510646b3dcf33a1df2c60e3461f (diff) |
Add simple AM_PATH_BLUEZ macro
-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) +]) |