Commit Graph

187 Commits

Author SHA1 Message Date
Marcel Holtmann
12c5f1956b build: Check for clock_gettime and pthread_create 2013-09-02 11:25:54 -07:00
Marcel Holtmann
6c1dfe9b6d build: Remove all checks for USB library support 2013-08-28 14:15:22 -07:00
Marcel Holtmann
c1f49e301f build: Remove extra checks for libusb usage of bccmd 2013-08-28 13:21:44 -07:00
Marcel Holtmann
c4db4db6bf Release 5.8 2013-08-07 22:32:56 -07:00
Marcel Holtmann
78a6366af4 Release 5.7 2013-06-26 10:10:50 -07:00
Marcel Holtmann
70f8ef74f2 Release 5.6 2013-06-19 08:22:52 +02:00
Szymon Janc
c8e79a7a11 build: Fix generating bluetoothd manpage
CONFIGDIR was not properly substituted in bluetoothd.8 manpage.
2013-06-13 16:15:05 +03:00
Szymon Janc
15c84df0ea configure.ac: Fix typos sytemd -> systemd 2013-06-01 16:11:59 +03:00
Marcel Holtmann
7e19eb9a5e Release 5.5 2013-05-14 09:04:15 +02:00
Marcel Holtmann
4a9ce2ed68 Release 5.4 2013-04-10 22:50:12 -07:00
Marcel Holtmann
6c4e64aa4b Release 5.3 2013-02-23 12:20:10 +01:00
Antonio Ospite
d2aad021e4 configure.ac: call AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) only when needed
Bring AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) in the same block of the
corresponding PKG_CHECK_MODULES() call.

Having these variables defined outside of the if tests is more than what
is needed as the corresponding PKG_CHECK_MODULES() might not have been
called at all there.

This is the same logic already used for USB_CFLAGS and USB_LIBS.
2013-02-23 12:51:07 +02:00
Antonio Ospite
5ce3ca820d configure.ac: call AC_SUBST unconditionally with --with-* options
Call AC_SUBST unconditionally when specifying --with-* options,
otherwise options like --with-dbusconfdir=DIR or --with-udevdir=DIR have
no effect.

Before this change, configuring with:

  $ mkdir build
  $ ./configure --disable-systemd \
                --prefix=$(pwd)/build \
                --with-dbusconfdir=$(pwd)/build/etc

resulted in the option value to be ignored at "make install" time, with
this error:

  /bin/mkdir: cannot create directory '/dbus-1/system.d': Permission denied

This is what was going on in configure.ac:

  # define the option
  AC_ARG_WITH([dbusconfdir] ... [path_dbusconfdir=${withval}])

  # when --with-dbusconfdir is NOT used
  if (test -z "${path_dbusconfdir}"); then
    ...

    # define the config dir automatically
    path_dbusconfdir="`$PKG_CONFIG --variable=sysconfdir dbus-1`"

    ...

    # set DBUS_CONFDIR
    AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}])
  endif

when --with-dbusconfdir=SOMEDIR was used the test above failed, and the
result was that ${path_dbusconfdir} was indeed defined as manually
specified, but DBUS_CONFDIR was not, and the latter was going to be used
in Makefile.am:

  dbusdir = @DBUS_CONFDIR@/dbus-1/system.d

The failure in mkdir can be exposed by the use of the "--prefix" option
and by running "make install" as a normal user; when running "make
install" with the root user /dbus-1/system.d would be happily (and
wrongly) created.

By always setting variables relative to --with-* options (like
DBUS_CONFDIR) the cases when --with-someoption=SOMEDIR are used get
covered.
2013-02-23 12:49:04 +02:00
Marcel Holtmann
9ea3f21c6e Release 5.2 2013-02-02 01:41:17 +01:00
Marcel Holtmann
e9dd74d5e3 Release 5.1 2013-01-11 11:07:49 -08:00
Lucas De Marchi
5a1ec00553 build: Do not use deprecated AM_CONFIG_HEADER
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
Use AC_CONFIG_HEADERS instead.
2013-01-03 21:28:48 -08:00
Marcel Holtmann
5687a80717 Release 5.0 2012-12-24 09:35:38 -08:00
Marcel Holtmann
55bf340c04 build: Move bluez.pc into the library directory 2012-12-19 18:27:14 +01:00
Marcel Holtmann
8a10ddc548 build: Remove left-overs from broken attempt in adding gtk-doc support 2012-12-19 18:21:26 +01:00
Marcel Holtmann
c5a7b6ca64 build: Fix typo with D-Bus system service directory check 2012-12-18 21:54:25 +01:00
Marcel Holtmann
2d9190d3ac build: Check for D-Bus session services directory 2012-12-18 21:53:30 +01:00
Marcel Holtmann
710489806b build: Add configure option to disable the monitor utility 2012-12-12 23:19:43 +01:00
Marcel Holtmann
d4a93caffe build: Support building client without tools enabled 2012-12-11 22:19:13 +01:00
Marcel Holtmann
e57efd6fbb build: Add option for D-Bus system bus services directory 2012-12-11 17:55:24 +01:00
Marcel Holtmann
7ef17a931b build: Start building xz compressed packages by default 2012-12-11 17:31:58 +01:00
Marcel Holtmann
3346851d3e build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P 2012-12-11 17:16:59 +01:00
Marcel Holtmann
fab8ebdadd build: Include directory errors within square brackets 2012-12-11 15:26:09 +01:00
Marcel Holtmann
68c3d4cf0d build: Use better configuration option for D-Bus config directory 2012-12-11 15:24:18 +01:00
Marcel Holtmann
89e2de32f5 build: Cleanup of systemd unit directory options 2012-12-11 15:09:31 +01:00
Marcel Holtmann
a7d4c2296f build: Add option for providing the udev directory 2012-12-11 15:05:24 +01:00
Marcel Holtmann
c7476c4e65 build: Handle systemd system and user unit directories 2012-12-11 14:52:23 +01:00
Marcel Holtmann
0819e1aafd build: Add configure option for disabling CUPS support 2012-12-11 11:50:44 +01:00
Marcel Holtmann
d555301c5f build: Enable tools compilation and installation by default 2012-12-11 01:37:52 +01:00
Marcel Holtmann
9de5c526eb build: Add skeleton for command line client 2012-12-11 01:33:53 +01:00
Marcel Holtmann
652229d770 build: Fix issue with tools dependencies 2012-12-11 00:24:43 +01:00
Marcel Holtmann
a66050d7f4 build: Do not install libbluetooth by default 2012-12-10 22:34:47 +01:00
Marcel Holtmann
7004597f9f build: Add support for building Phonebook Access profile 2012-12-10 22:01:03 +01:00
Marcel Holtmann
93a2c454bc build: Fix typo in udev configure statement 2012-12-10 22:01:03 +01:00
Marcel Holtmann
cc9e4e7cae build: Update configure option handling 2012-12-10 21:32:51 +01:00
Marcel Holtmann
5a2fda0be9 build: Use libexecdir for Bluetooth daemon 2012-12-09 11:19:53 +01:00
Marcel Holtmann
292a37990c build: Remove dependency for check library 2012-12-09 10:33:32 +01:00
Marcel Holtmann
3b886d255b build: Remove compat helper for ppoll 2012-12-09 00:42:26 +01:00
Lucas De Marchi
b84f6f794b build-sys: Define _GNU_SOURCE in config.h
Instead of defining _GNU_SOURCE in each source file (and potentially
forgetting in some), tell the build system we use extensions and let it
define _GNU_SOURCE in config.h.
2012-12-05 17:17:36 +02:00
Marcel Holtmann
8d439d85b3 build: Remove option to build SBC support 2012-11-09 09:57:08 +01:00
Marcel Holtmann
15df7842e1 build: Remove option to build GStreamer plugin 2012-11-09 09:49:22 +01:00
Marcel Holtmann
43baee63f6 build: Indicate 5.x development branch 2012-10-06 18:31:07 +02:00
Lucas De Marchi
10ea337795 build-sys: Don't use deprecated AM_PROG_MKDIR_P
AM_PROG_MKDIR_P is deprecated since:

configure.ac:23: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.ac:23: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:23: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

We are already using $(MKDIR_P) so we just need to call the right macro.
2012-10-04 11:23:57 +03:00
Lucas De Marchi
5bec57420b rfcomm: Remove support for configuration file 2012-08-09 22:52:38 -07:00
Luiz Augusto von Dentz
4ff9b99292 audio: Remove ALSA support
ALSA support depend on unix support that is now removed.
2012-07-02 13:13:43 +03:00
Marcel Holtmann
67ef3ac837 Release 4.101 2012-06-22 14:07:04 -07:00