configure.ac fix build error for config.h in autotools
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 26 Feb 2019 01:00:56 +0000 (10:00 +0900)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 26 Feb 2019 10:39:36 +0000 (10:39 +0000)
commitd54e546852dd6ffdc732ffa17f102b7ce87a7352
tree7a8862235ecf7bbf6c60ebfcda7c2c4ef001d593
parent56c21f877bda7b8c62c3d7925b070b5113d807f2
configure.ac fix build error for config.h in autotools

After the commit 0926f0af54d6 ("meson,configure: include config.h
automatically"), there is build error for autotools because
config.h is not included. Fix the error by adding "-include
config.h" to CPPFLAGS instead of CFLAGS from configure.ac.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=106561
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes: 0926f0af54d654b1a958 "meson,configure: include config.h automatically"
configure.ac