diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-11 19:50:32 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-11 19:50:32 (GMT) |
commit | ab10b43ec5405452e149c70c1685066f205941e8 (patch) | |
tree | 745a68bb420e8b08e361853220c0e44faef6a6f0 /Utilities/Release | |
parent | d885d45b0f3070d40fc3e917a3b07528883b4739 (diff) | |
download | CMake-ab10b43ec5405452e149c70c1685066f205941e8.zip CMake-ab10b43ec5405452e149c70c1685066f205941e8.tar.gz CMake-ab10b43ec5405452e149c70c1685066f205941e8.tar.bz2 |
ENH: change the way #cmakedefine is changed to #undef, so it is similar to
what autoconf does. This makes porting software from autoconf to cmake
easier, since it's easier to diff the resulting config headers.
Now the following
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_STRLCAT 1
produce:
#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT */
whereas before they produced:
#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT 1 */
Since it's commented out anyway, it's now change in behaviour.
Alex
Diffstat (limited to 'Utilities/Release')
0 files changed, 0 insertions, 0 deletions