libnmdb: Remove redundant _ENABLE_X constants
commit981770d6ff4caa49c701bc1c2404c80e007b2dd6
authorAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 7 Oct 2010 03:48:05 +0000 (7 00:48 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 7 Oct 2010 03:48:05 +0000 (7 00:48 -0300)
tree78663d16f5480eb2c7a085b307eedc227079235a
parent46515f4949f35220cb9c8edc29205d80b78f6421
libnmdb: Remove redundant _ENABLE_X constants

There is no need to pass -DENABLE_X when building, the constants are readily
available in internal.h, but as _ENABLE_X.

This patch removes the redundancy by turning the internal.h constants into
ENABLE_X form, and not passing the -D when building. The code then gets the
constants from internal.h.

Thanks to Jay Sprenkle <jsprenkle@gmail.com> for the report.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
libnmdb/Makefile
libnmdb/internal.h.in