From dc277c62a3d39f2a7c9a987fc3b9903b59147820 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 17 Feb 2016 20:35:33 +0100 Subject: [PATCH] configure.ac: inherit CFLAGS&others from the environment --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index e4e4d63..0b18298 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,10 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE() m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES]) +CFLAGS="$CFLAGS" +CXXFLAGS="$CXXFLAGS" +LDFLAGS="$LDFLAGS" + LT_INIT AM_PROG_CC_C_O