Re: [Bluez-devel] [btsco] configure/make errors

Marcel Holtmann
2005-01-19T12:15:20Z

Hi Luca,

> after having solved the automake error, configure gave me another one
> and googling solved it [1]. But, again, no dependencies from libao-dev
> is present in the README (and, strangely, automake doesn't complain).
>
> This wasn't enough: make gave me other errors, because it could not find
> the Bluetooth dev libraries.
>
> Attached a patch against the current CVS:
>
> * bootstrap:
> checking for the existence of /usr/share/aclocal/ao.m4 and exiting with
> an error if not present (we cannot use the pkg-config because ao.m4 is
> used to generate the configure script)

And again. The bootstrap thing is for making the developer happy,
because he must call only one program/script for getting the repository
ready. It is not for others ;)

> * configure.in:
> used pkg-config to check the presence of the Bluetooth dev libraries

You can also use AM_PATH_BLUEZ. Since bluez-libs-2.13 it is also
available now, because not all systems use pkg-config.

Regards

Marcel