build: Guard the inclusions of config.h with HAVE_CONFIG_H
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 20 Feb 2013 14:40:07 +0000 (14:40 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:45:34 +0000 (15:45 +0000)
commit7ee278f17613d07ee18070f83aca9f050a526a72
treeebbf788c54030aa6b6d155c36954d4498710197e
parentaa2bd8a6921b751d2f8a5caa0001e386f139fecc
build: Guard the inclusions of config.h with HAVE_CONFIG_H

autoconf can be configured to not generate a config.h but to give the
defines with command line arguments instead. In this case, there's no
config.h to include.

To work in both cases autoconf adds a HAVE_CONFIG_H define on the command
line to signal there's a config.h to include.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/intel_drm.c
tests/gem_fence_thrash.c
tests/kms_flip.c
tests/testdisplay.c
tools/intel_gpu_top.c