Hi Frederic, On Tue, Sep 24, 2013 at 8:13 AM, Frederic Danis <frederic.danis@xxxxxxxxxxxxxxx> wrote: > --- /dev/null > +++ b/android/Android.mk > @@ -0,0 +1,5 @@ > +LOCAL_PATH := $(call my-dir) > + > +# Retrieve BlueZ version from configure.ac file > +BLUEZ_VERSION := $(shell grep AC_INIT $(LOCAL_PATH)/../configure.ac | tr -d ' ' | sed -e 's/.*(.*,\(.*\))/\1/') It also works if you use the C preprocessor to get the version: BLUEZ_VERSION := $(shell grep ^AC_INIT $(LOCAL_PATH)/../configure.ac | cpp -P -D'AC_INIT(_,v)=v') Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html