configure.ac: inherit CFLAGS&others from the environment

This commit is contained in:
Mirek Kratochvil 2016-02-17 20:35:33 +01:00
parent 2e0d738431
commit dc277c62a3

View file

@ -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