[ace-users] [autoconf] Crude script to compare autogeneratedconfig.h with regular one

Thomas Girard thomas.g.girard at free.fr
Mon Aug 13 08:01:50 CDT 2007


Le dimanche 12 août 2007 à 19:31 +0200, Thomas Girard a écrit :
> Adding -DACE_HAS_LINUX_NPTL to the already fragile script gives the
> attached diff I'll use to report bugs.

The script was not including ace/config-g++-common.h because it was
using cpp instead of g++. A modified script, fixing this issue and
defining ACE_HAS_LINUX_NPTL, is attached.

I'll try to improve this script when I have time so that:
 * it does not need -DACE_HAS_LINUX_NPTL (not needed for ACE > 5.5.10)
 * it works with other compilers

A new diff is attached as well. Lines starting with `-' are defined by
the autotools method while line starting with `+' are by the regular
method. There are a few false positive (e.g. the difference on gperf,
#define ACE_GPERF "gperf-ace", which is manually set for Debian
packages), but there are also interesting lines, like the difference on
ACE_DEFAULT_BASE_ADDR, yet to be explained.

Regards,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ace-cmp.sh
Type: application/x-shellscript
Size: 682 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070813/f8cc16fb/ace-cmp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ace_5.5.10_linux_amd64_auto_to_regular.diff
Type: text/x-patch
Size: 7770 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070813/f8cc16fb/ace_5.5.10_linux_amd64_auto_to_regular.bin


More information about the Ace-users mailing list