Wireshark mailing list archives

Re: Trunk Windows CMake builds are broken


From: Graham Bloice <graham.bloice () trihedral com>
Date: Fri, 22 Aug 2014 10:53:49 +0100

On 21 August 2014 13:24, Gisle Vanem <gvanem () yahoo no> wrote:

"Guy Harris" <guy () alum mit edu> wrote:

 Presumably autotools can be convinced to generate ws_config.h rather than
config.h.


I'm not a user of auto* tools, but I guess it's done with:
- AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_HEADERS(ws_config.h)

--gv



Just to tidy up any loose ends.  Gerrit change 3787 fixed CMake so that the
CMake generated config.h was similar to that produced by nmake so that
including either file gets the same results, i.e. the buildbots are now
happy.

Longer term we should fix the erroneous inclusion of the in-tree version, I
suspect this means converting all #includes of config.h from files in the
same directory to the angle bracket form.  This can probably be checked by
temporarily introducing a deliberate error in the in-tree one and then
running an out-of-tree build.

While there is some merit in giving config.h a Wireshark specific name to
prevent conflicts form other packages, e.g. ws_config.h, as we haven't seen
any issues with that, I'll leave that as an exercise for others.

-- 
Graham Bloice
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: