summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* configure: Fix use of obsolete macrosLuiz Augusto von Dentz2022-01-051-6/+6
| | | | | | | | | | | | | | This fixes the following warnings when using autoconf >= 2.70: configure.ac:19: warning: The macro `AC_LANG_C' is obsolete. configure.ac:45: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:440: warning: AC_OUTPUT should be used without arguments. The macros are replacing following the autoconf documentation: https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html Fixes: https://github.com/bluez/bluez/issues/246
* build: Add sanitizer optionsLuiz Augusto von Dentz2021-12-221-0/+77
| | | | | | | | | | | | | | Build using Address Sanitizer (asan), Leak Sanitizer (lsan), or Undefined Behavior Sanitizer (ubsan) by using one of these options for the configure script: --enable-asan --enable-lsan --enable-ubsan For each of these to work, the compiler must support the requested sanitizer and the requisite libraries must be installed (libasan, liblsan, libubsan).
* build: Enable BIND_NOWFlorian Weimer2019-05-131-1/+1
| | | | | | | | | Partial RELRO means that the object is GNU_RELRO but not BIND_NOW. This reduces the effectiveness of RELRO. bluez triggers this because it enables PIE during the build, and rpmdiff takes this as an indicator that the best possible hardening is desired. https://bugzilla.redhat.com/show_bug.cgi?id=983161
* build: Switch to -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32Marcel Holtmann2019-05-071-1/+1
|
* build: Enable -Wformat -Wformat-security in maintainer modeSzymon Janc2015-01-021-0/+1
| | | | | | | | | | | | | __attribute__((format(printf))) doesn't seem to catch missing format string in function call ie. char *p = "foo"; printf(p); vs printf("%s", p); Enabling -Wformat -Wformat-security warns in such case.
* build: Fix detection of coverage supportMarcel Holtmann2014-12-141-1/+1
|
* build: Add coverage supportLuiz Augusto von Dentz2014-12-121-0/+4
| | | | | | | Coverage is enabled with --enable-maintainer-mode, 2 new targets are added 'coverage' and 'clean-coverage', the first generate the reports using lcov and depend on the second to cleanup previous generated reports and .gcda files.
* build: Enable -Wswitch-enum in maintainer modeSzymon Janc2014-12-081-0/+1
| | | | This makes GCC verify if all enum values are listed in switch.
* build: Force GLib version check while building in maintainer modeSzymon Janc2013-11-281-0/+2
| | | | | | This will allow to catch up build errors introduced by using GLib API introduced in newer GLib than minimal required even if building with newer version.
* build: Check for clock_gettime with -lrtMarcel Holtmann2013-09-091-1/+0
|
* build: Fix --disable-optimization configure optionAnderson Lizardo2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | On commit cc9e4e7cae0379864ea06038d92bf7ecc192bba7, this flag was mistakenly replaced with the behavior of the old --enable-fortify option. This patch restores the "-O0" flag when --disable-optimization is used. Unfortunately, this is not enough to disable build optimization. By default, autoconf adds -O2 to CFLAGS if the compiler is GCC. AM_CFLAGS (where -O0 is added with --disable-optimization) is passed as argument to GCC before autoconf CFLAGS, so it is not possible to override the default -O2. One solution is to use: CFLAGS= ./configure --disable-optimization i.e. remove -O2 from CFLAGS, and let autoconf add -O0.
* build: Update configure option handlingMarcel Holtmann2012-12-101-247/+20
|
* build: Always build the Wiimote pluginMarcel Holtmann2012-12-101-6/+0
|
* build: Remove left-over from telephony driver frameworkMarcel Holtmann2012-12-091-7/+0
|
* build: Remove dependency for check libraryMarcel Holtmann2012-12-091-7/+1
|
* build: Enable bccmd utility when tools are enabledMarcel Holtmann2012-12-091-6/+0
|
* build: Use a separate Makefile.profilesMarcel Holtmann2012-12-091-9/+0
|
* build: Remove old PCMCIA serial supportMarcel Holtmann2012-12-091-6/+0
|
* tools: Remove dfutool utilityMarcel Holtmann2012-12-091-6/+0
| | | | This tool got replaced with dfu-util from http://dfu-util.gnumonks.org/
* build: Remove compat helper for ppollMarcel Holtmann2012-12-091-5/+0
|
* build: Check for existence of udev_hwdb_new functionMarcel Holtmann2012-12-091-0/+3
|
* build: Always enable GATT supportMarcel Holtmann2012-11-091-7/+1
|
* build: Remove option to build SBC supportMarcel Holtmann2012-11-091-9/+0
|
* build: Remove option to build GStreamer pluginMarcel Holtmann2012-11-091-16/+2
|
* build: Fix selecting HoG suspend backendJoão Paulo Rechi Vita2012-10-301-1/+1
| | | | | | | The dummy backend was always being compiled and the --with-hog-suspend option was not being accepted by configure. Now the backend can be selected with --with-hog-suspend and the suspend implementation file is generated during compile time.
* Add initial neard plugin implementationSzymon Janc2012-10-031-0/+6
| | | | Initial implementation. Only register and unregister support.
* build: Update glib dependency to 2.32Mikel Astiz2012-10-011-2/+2
| | | | | This version of the library adds several convenient features such as g_queue_free_full.
* hog: Add suspend back-end selectionClaudio Takahasi2012-09-281-0/+7
| | | | | This patch series introduces back-end selection for HoG suspend drivers. The default back-end is called "dummy", added for testing purpose only.
* plugins: remove unmaintained pluginsGustavo Padovan2012-07-101-18/+0
|
* serial: remove the whole serial codeGustavo Padovan2012-07-101-6/+0
|
* hog: Register HID over GATT device driverClaudio Takahasi2012-07-091-0/+1
|
* remove compat daemonsGustavo Padovan2012-07-041-18/+0
|
* audio: Remove ALSA supportLuiz Augusto von Dentz2012-07-021-15/+1
| | | | ALSA support depend on unix support that is now removed.
* build: fix MISC_LDFLAGS typo to fix "--enable-pie"Stefan Seyfried2012-06-211-1/+1
|
* build: Do not set CFLAGS/LDFLAGS directlyLucas De Marchi2012-05-161-16/+22
| | | | | | | | | | | | | | | | | | | | | | | Set a separate variable for adding warning flags, optimization, etc. Build systems are not supposed to change CFLAGS and LDFLAGS, these are user variables. Doing so we guarantee CFLAGS and LDFLAGS from environment is appended to the flags used during build. One useful use-case is to temporarily disable -Werror when using --enable-maintainer-mode, without completely loosing the warning flags and other parameters in CFLAGS (like -fPIC). Without this patch, fiddling with CFLAGS/LDFLAGS after configure may result in errors like below: /usr/bin/ld: tools/rfcomm.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC tools/rfcomm.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[1]: *** [tools/rfcomm] Error 1 make: *** [all] Error 2 Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
* build: Require GLib 2.28 or laterMarcel Holtmann2012-04-161-8/+2
|
* build: Require D-Bus 1.4 or laterMarcel Holtmann2012-04-161-9/+2
|
* GATT: Remove individual config switchesChen Ganir2012-03-261-28/+4
| | | | | | Remove individual GATT plugin configuration switches and add a new master gatt switch called --enable-gatt to enable/disable all GATT related plugins at once.
* tracer: Remove wrong attempt in building a HCI mointor in userspaceMarcel Holtmann2012-02-201-6/+0
|
* glib-compat: Add g_list_free_full to deal with issues in old GLib versionsSantiago Carot-Nemesio2012-02-031-0/+3
|
* Remove unused/broken "echo" RFCOMM pluginAnderson Lizardo2012-01-091-1/+0
| | | | | | | | | | | It was disabled for quite some time (since 2009), and does not even compile anymore if enabled: plugins/echo.c: In function 'session_event': plugins/echo.c:53: error: implicit declaration of function 'g_io_channel_read' plugins/echo.c:57: error: implicit declaration of function 'g_io_channel_write'
* Remove PulseAudio plugin leftoverAnderson Lizardo2012-01-091-6/+0
| | | | The .c file and the configure check were not being used anywhere.
* build: increase check requirement to 0.9.6Scott James Remnant2012-01-071-1/+1
| | | | ck_assert, used by unit/test-eir.c wasn't added to check until 0.9.6
* build: Move libcheck under TEST conditionalMarcel Holtmann2011-12-271-1/+7
|
* Add Phone Alert Server skeleton pluginBruna Moreira2011-09-221-0/+6
|
* Add GATT Time Server skeleton pluginAnderson Lizardo2011-09-221-0/+6
|
* Initial support for Health Thermometer Profile (HTP)Santiago Carot-Nemesio2011-07-291-0/+6
|
* Add Proximity Profile plugin skeletonClaudio Takahasi2011-07-261-0/+6
|
* Add support for wiimote pairingDavid Herrmann2011-07-141-0/+6
| | | | | | | The Nintendo Wii Remote requires binary bluetooth addresses as PINs. This is not possible via dbus agent API. So this adds a plugin that registers a pin-callback and forces the right pin for every authentication request of wiimotes.
* Allow building with GLib 2.16 for nowMarcel Holtmann2011-07-041-2/+5
|