summaryrefslogtreecommitdiffstats
path: root/m4/ax_c_lto.m4
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:22:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:22:44 +0000
commit1e6c93250172946eeb38e94a92a1fd12c9d3011e (patch)
tree8ca5e16dfc7ad6b3bf2738ca0a48408a950f8f7e /m4/ax_c_lto.m4
parentUpdate watch file (diff)
downloadnetdata-1e6c93250172946eeb38e94a92a1fd12c9d3011e.tar.xz
netdata-1e6c93250172946eeb38e94a92a1fd12c9d3011e.zip
Merging upstream version 1.11.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'm4/ax_c_lto.m4')
-rw-r--r--m4/ax_c_lto.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/m4/ax_c_lto.m4 b/m4/ax_c_lto.m4
deleted file mode 100644
index 7e6bc0119..000000000
--- a/m4/ax_c_lto.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-# AC_C_LTO
-# -------------
-# Define HAVE_LTO if -flto works.
-AN_IDENTIFIER([lto], [AC_C_LTO])
-AC_DEFUN([AC_C_LTO],
-[AC_CACHE_CHECK([if -flto builds executables], ac_cv_c_lto,
-[AC_RUN_IFELSE(
- [AC_LANG_SOURCE(
- [[#include <stdio.h>
- int main(int argc, char **argv) {
- return 0;
- }
- ]])],
- [ac_cv_c_lto=yes],
- [ac_cv_c_lto=no],
- [ac_cv_c_lto=${ac_cv_c_lto_cross_compile}])])
-if test "${ac_cv_c_lto}" = "yes"; then
- AC_DEFINE([HAVE_LTO], 1,
- [Define to 1 if -flto works.])
-fi
-])# AC_C_LTO