You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/04/17 06:39:26 UTC

[jira] Resolved: (TS-22) Collect common defines into global configuration header

     [ https://issues.apache.org/jira/browse/TS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-22.
-----------------------------

    Resolution: Fixed

I believe this is done.

> Collect common defines into global configuration header
> -------------------------------------------------------
>
>                 Key: TS-22
>                 URL: https://issues.apache.org/jira/browse/TS-22
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.0.0a
>         Environment: All
>            Reporter: Andrew Hsu
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The command lines to pass -D to g++ are quite long (passing in PACKAGE_VERSION, PACKAGE_NAME, etc).  They ought to be collected into a common 'config.h' file generated by autoheader:
> http://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Headers
> The #include <config.h> needs to be placed before any other header files, to prevent inconsistencies in declarations (for example, if it redefines const).  Plus, not all files may need the include.
> This change will likely touch a lot of *.c, *.cc, *.h, and *.i files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira