configure: Check for bluez >= 4.30.
PATCH 1/1 configure: Check for bluez >= 4.30.
Earlier versions lack struct sockaddr_l2::l2_cid and/or struct bt_security.
--- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
configure.ac +2 -2
@@ -184,8 +184,8 @@ AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth], [disable Bluetooth modem support]), [enable_bluetooth=${enableval}]) if (test "${enable_bluetooth}" != "no"); then - PKG_CHECK_MODULES(BLUEZ, bluez, dummy=yes, - AC_MSG_ERROR(Bluetooth library is required)) + PKG_CHECK_MODULES(BLUEZ, bluez >= 4.30, dummy=yes, + AC_MSG_ERROR(Bluez >= 4.30 is required without --disable-bluetooth)) fi AC_SUBST(BLUEZ_CFLAGS) AC_SUBST(BLUEZ_LIBS)
Signature · 1 line
1.7.1.86.g0e460.dirty
PATCH 1/1 Makefile: rerun genbuiltin on reconfigure.
Make builtin.h depend on config.status to force regeneration when plugins may have been enabled or disabled. There may be a better way to do that. The dependency on builtin_sources is not needed.
--- Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile.am +1 -1
@@ -571,7 +571,7 @@ MAINTAINERCLEANFILES = Makefile.in \ src/plugin.$(OBJEXT): src/builtin.h -src/builtin.h: src/genbuiltin $(builtin_sources) +src/builtin.h: src/genbuiltin config.status $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@ plugins/%.rules:
Signature · 1 line
1.7.1.86.g0e460.dirty
Re: [PATCH] Makefile: rerun genbuiltin on reconfigure.
Hi Andrew,
Quoted 12 lines
Make
builtin.hdepend on config.status to force regeneration when plugins may have been enabled or disabled. There may be a better way to do that. The dependency onbuiltin_sourcesis not needed.--- Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)Makefile.am +0
-0
Makefile.am MAINTAINERCLEANFILES = Makefile.in \ · line 575
Quoted 6 lines
Makefile.am +1
-1@@ -571,7 +571,7 @@ MAINTAINERCLEANFILES = Makefile.in \ src/plugin.$(OBJEXT): src/builtin.h -src/builtin.h: src/genbuiltin $(builtin_sources) +src/builtin.h: src/genbuiltin config.status $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
so depending on config.status is fine, but why no longer on $(builtin_sources)?
Regards
Marcel
Hi Andrew,
Quoted 11 lines
Earlier versions lack struct
sockaddr_l2::l2_cidand/or structbt_security.--- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)configure.ac +0
-0
configure.ac AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth], · line 188
Quoted 7 lines
configure.ac +2
-2@@ -184,8 +184,8 @@ AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth], [disable Bluetooth modem support]), [enable_bluetooth=${enableval}]) if (test "${enable_bluetooth}" != "no"); then - PKG_CHECK_MODULES(BLUEZ, bluez, dummy=yes, - AC_MSG_ERROR(Bluetooth library is required)) + PKG_CHECK_MODULES(BLUEZ, bluez >= 4.30, dummy=yes, + AC_MSG_ERROR(Bluez >= 4.30 is required without --disable-bluetooth))
patch has been applied, but I did remove the --disable-bluetooth comment since that is kinda obvious.
You need to know what you are doing when building the source code. The decision to have or not have a feature doesn't really depend on if you installed a library or not.
Regards
Marcel
Re: [PATCH] Makefile: rerun genbuiltin on reconfigure.
In reply to Marcel HoltmannHi,
Quoted 6 lines · Marcel Holtmann
Quoted 3 lines
Makefile.am +1
-1-src/builtin.h: src/genbuiltin $(builtin_sources) +src/builtin.h: src/genbuiltin config.status$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
so depending on config.status is fine, but why no longer on $(builtin_sources)?
I didn't see a point for that dependency, it triggers unneeded rerunning of genbuiltin as far as I see?
Best regards
Re: [PATCH] Makefile: rerun genbuiltin on reconfigure.
Hi Andrew,
Quoted 9 lines
Quoted 6 lines
Makefile.am MAINTAINERCLEANFILES = Makefile.in \ · line 575
Quoted 3 lines
Makefile.am +1
-1-src/builtin.h: src/genbuiltin $(builtin_sources) +src/builtin.h: src/genbuiltin config.status $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@so depending on config.status is fine, but why no longer on $(builtin_sources)?
I didn't see a point for that dependency, it triggers unneeded rerunning of genbuiltin as far as I see?
fair enough. Let's try if this gives us any problems. Patch has been applied.
Regards
Marcel