summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-09-26 15:35:24 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-09-26 15:35:24 -0400
commit7db5e19f7499cce5b86d63f8af5ae5ecf7245bf0 (patch)
tree532fc89a01b88eb427d714940b015a61a7e960cb /include
parentf3840ed110ecaac1a2777692b714f283600d9afa (diff)
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
Diffstat (limited to 'include')
-rw-r--r--include/module.h2
-rw-r--r--include/sysconf.h.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/module.h b/include/module.h
index 7b4db02a2..9ef037c4b 100644
--- a/include/module.h
+++ b/include/module.h
@@ -5,7 +5,7 @@
#include "commands.h"
#include "modules.h"
-#if HAVE_GETTEXT
+#if GETTEXT_FOUND
# include <libintl.h>
# define _(x) gettext(x)
#else
diff --git a/include/sysconf.h.cmake b/include/sysconf.h.cmake
index 46a48df7d..e25e22eb4 100644
--- a/include/sysconf.h.cmake
+++ b/include/sysconf.h.cmake
@@ -18,7 +18,7 @@
#cmakedefine HAVE_SYS_SELECT_H 1
#cmakedefine HAVE_UMASK 1
#cmakedefine HAVE_EVENTFD 1
-#cmakedefine HAVE_GETTEXT 1
+#cmakedefine GETTEXT_FOUND 1
#cmakedefine RUNGROUP "@RUNGROUP@"
#cmakedefine SERVICES_BIN "@SERVICES_BIN@"