diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-21 21:33:12 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-21 21:33:12 +0000 |
commit | 3e2744b52f2c48f5c0f97efa6164ae18d2c1a187 (patch) | |
tree | 161d099e9ce31ecc7bad01ae783683b20b318987 | |
parent | a1e5adc417797a4896e864851741f02cdad4c3e3 (diff) |
Allow disabling of pand compilation and installation
-rw-r--r-- | acinclude.m4 | 7 | ||||
-rw-r--r-- | pand/Makefile.am | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index cdc2a047..dee55b24 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -164,6 +164,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ hcid_enable=yes sdpd_enable=yes hidd_enable=yes + pand_enable=yes test_enable=no cups_enable=no configfiles_enable=yes @@ -196,6 +197,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ hcid_enable=${enableval} sdpd_enable=${enableval} hidd_enable=${enableval} + pand_enalbe=${enableval} test_enable=${enableval} cups_enable=${enableval} configfiles_enable=${enableval} @@ -259,6 +261,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [ hidd_enable=${enableval} ]) + AC_ARG_ENABLE(pand, AC_HELP_STRING([--enable-pand], [install PAN daemon]), [ + pand_enable=${enableval} + ]) + AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test], [install test programs]), [ test_enable=${enableval} ]) @@ -341,6 +347,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AM_CONDITIONAL(HCID, test "${hcid_enable}" = "yes") AM_CONDITIONAL(SDPD, test "${sdpd_enable}" = "yes") AM_CONDITIONAL(HIDD, test "${hidd_enable}" = "yes") + AM_CONDITIONAL(PAND, test "${pand_enable}" = "yes") AM_CONDITIONAL(TEST, test "${test_enable}" = "yes") AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes") AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes") diff --git a/pand/Makefile.am b/pand/Makefile.am index 342b2244..447e950b 100644 --- a/pand/Makefile.am +++ b/pand/Makefile.am @@ -1,8 +1,11 @@ +if PAND bin_PROGRAMS = pand pand_SOURCES = main.c pand.h bnep.c sdp.c + pand_LDADD = @BLUEZ_LIBS@ +endif AM_CFLAGS = @BLUEZ_CFLAGS@ |