Drop the conditional inclusion of config.h
commitbd138412579e9a7c251ea8f2f1bb2cdb3d0bf95b
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 1 May 2021 16:05:29 +0000 (1 17:05 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 1 May 2021 16:05:29 +0000 (1 17:05 +0100)
tree05449a6c559fd2f2e3bc9e8f8e7f3a1e676a90b5
parentbfd1602db9fd0d23074ef4d1628de66d70241c3b
Drop the conditional inclusion of config.h

We *always* generate this file, and we depend on its existence.

The idea behind HAVE_CONFIG_H was being able to include random files
from different projects, back in a time where "libraries" were literally
just random files instead of actual shared objects.

Since we're not in the '80s any more, and our build system(s) define
HAVE_CONFIG_H *and* generate the config.h header file, we don't need a
conditional guard around its inclusion.
27 files changed:
boilerplate/cairo-boilerplate.h
perf/cairo-perf-print.c
src/cairo-atomic-private.h
src/cairo-compiler-private.h
src/cairo-mutex-impl-private.h
src/cairo-wideint-type-private.h
src/cairoint.h
test/any2ppm.c
test/api-special-cases.c
test/buffer-diff.c
test/cairo-test.c
test/error-setters.c
test/fallback-resolution.c
test/imagediff.c
test/pdiff/pdiff.c
test/ps-eps.c
test/solid-pattern-cache-stress.c
test/toy-font-face.c
util/cairo-fdr/fdr.c
util/cairo-gobject/cairo-gobject-enums.c
util/cairo-gobject/cairo-gobject-structs.c
util/cairo-script/cairo-script-private.h
util/cairo-sphinx/fdr.c
util/cairo-sphinx/sphinx.c
util/cairo-trace/lookup-symbol.c
util/cairo-trace/trace.c
util/trace-to-xml.c