Fix: bootstrap with autoconf >= 2.70 We want to enable all warnings and treat them as errors when running autoreconf but we have to disable 'obsolete' because of AM_PATH_GLIB_2_0. Turns out that autoconf >= 2.70 will drop all other warnings categories when 'all' is used. So the only way to enable all categories but 'obsolete' is to list them all. Change-Id: I6fae9c86130d79a1bc9d3bb7d0610a24d734532a Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Enable autotools warnings as errors Enable all autotools warnings and error out to help catch all the wonderful, shall we say, pecularities of M4sh. * Bump the minimum autoconf version to 2.69, we already require automake 1.12 released in 2012, use an autoconf of the same vintage. * Minor syntax tweaks by running 'autoupdate'. * Use AS_ESCAPE to escape bt_version_description C string * Rename obsolete AC_HELP_STRING to AS_HELP_STRING. * Use pkg-config to detect elfutils instead of our custom macro using AC_RUN_IFELSE which won't work when cross-compiling. Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Change-Id: Ic4de35dc6a51db3fd82b145e8a4ce4bb80e6b27b Reviewed-on: https://review.lttng.org/c/babeltrace/+/3812 CI-Build: Jérémie Galarneau <jeremie.galarneau@efficios.com> Tested-by: jenkins <jenkins@lttng.org> Reviewed-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Move to kernel style SPDX license identifiers The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. See https://spdx.org/ids-how for details. Change-Id: I7c25a3bc48ee328500a604cb276877d4cadfa997 Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Reviewed-on: https://review.lttng.org/c/babeltrace/+/3227 CI-Build: Philippe Proulx <eeppeliteloop@gmail.com> Tested-by: jenkins <jenkins@lttng.org> Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>