From 7db5e19f7499cce5b86d63f8af5ae5ecf7245bf0 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Sun, 26 Sep 2010 15:35:24 -0400 Subject: Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though. --- include/module.h | 2 +- include/sysconf.h.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 # 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@" -- cgit