NetworkManager/tools
Thomas Haller 484d666485 build: fix nm binutils tool when building with LTO
When building with -flto, we need to use linker plugins.
In case of binutils' nm, it means to prefer gcc-nm if
available.

Like for ranlib and ar, prefer gcc-nm.

- replace AC_PATH_TOOL() by AC_CHECK_TOOLS(). That is consistent
  with what we do for ar,ranlib and suggested on bgo#783311.
- instead of using the variable $BINUTILS_NM, replace it by
  $NM, which is more common according to bgo#783311.
- Keep recognizing $BINUTILS_NM environment, which was introduced
  by commit 8bc88bcc7c. This is purely to keep previous build
  scripts working. Originally I named it "$BINUTILS_NM" because
  using $NM in NetworkManager seemed confusing. But well...

https://bugs.gentoo.org/show_bug.cgi?id=620052
https://bugzilla.gnome.org/show_bug.cgi?id=782525
https://bugzilla.gnome.org/show_bug.cgi?id=783311
2017-06-01 12:51:31 +02:00
..
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
create-exports-NetworkManager.sh build: fix nm binutils tool when building with LTO 2017-06-01 12:51:31 +02:00
debug-helper.py tools: move debug-helper.py from test/ to tools/ 2014-07-30 15:56:19 -04:00
enums-to-docbook.pl docs: fix handling enums without explicit numeric value in "tools/enums-to-docbook.pl" 2017-01-04 09:33:50 +01:00
run-nm-test.sh tests: accept trailing arguments to "tools/run-nm-test.sh" 2017-03-02 16:08:54 +01:00
test-build.sh tools: add test script to build various configurations 2016-11-24 15:59:27 +01:00
test-networkmanager-service.py libnm: implement support for DNS manager properties 2016-12-12 22:06:24 +01:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00