diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-02-01 11:12:05 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-03-20 18:19:26 +0000 |
commit | 0926f0af54d654b1a95826066edcae30b8052581 (patch) | |
tree | 546efdeadf79644a90ca0c0418dbdea848b81ef4 /configure.ac | |
parent | 431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff) | |
download | libdrm-sun4i-0926f0af54d654b1a95826066edcae30b8052581.tar.gz libdrm-sun4i-0926f0af54d654b1a95826066edcae30b8052581.tar.bz2 libdrm-sun4i-0926f0af54d654b1a95826066edcae30b8052581.zip |
meson,configure: include config.h automatically
This will prevent any more missing `#include "config.h"` bug, at the
cost of having to recompile some files that didn't need to be when
changing build options.
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0e36336c..619af497 100644 --- a/configure.ac +++ b/configure.ac @@ -541,6 +541,8 @@ else AC_DEFINE(HAVE_VISIBILITY, 0) fi +CFLAGS="$CFLAGS -include config.h" + AC_SUBST(WARN_CFLAGS) AC_CONFIG_FILES([ Makefile |