wireshark/codecs
Graham Bloice aad1a81b99 Fix out-of-tree build includes of config.h
If a file in the same directory as config.h, e.g. wireshark-qt.cpp
has a #include "config.h", or another header it includes also has
a #include "config.h", then an out-of-tree build, e.g. CMake will
pick up any in-tree config.h and odd things may happen.  The correct
form is #include <config.h> which will pick up the out-of-tree
version.

To find this, introduce a deliberate error and then make an out-of-tree
build, noting where it fails and fix that file.  If that file includes
other files that still cause the build to fail, set the compiler
to emit the pre-processed version so you can locate the include with
the next errant "config.h".  Repeat ad nauseum.

Possibly all includes of "config.h" should be changed to <config.h>

Revert "CMake: Clobber the top-level config.h before we build."

This reverts commit 1f3849ce61.

Ping-Bug: 10301
Change-Id: Ie567e7cc696fd48f3e730fc27032c5d2a7d8f341
Reviewed-on: https://code.wireshark.org/review/6285
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-01-04 00:26:13 +00:00
..
G711a Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
G711u Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
G722 Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
G726 Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
sbc SBC: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2014-11-19 22:28:28 +00:00
CMakeLists.txt Fix ranlib "has no symbols" errors in the codecs directory. 2014-12-09 21:25:19 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.common Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
codecs.c Removed duplicated #include lines 2014-12-28 00:02:39 +00:00
codecs.h Fix out-of-tree build includes of config.h 2015-01-04 00:26:13 +00:00