diff options
| author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-09-26 15:35:24 -0400 |
|---|---|---|
| committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-09-26 15:35:24 -0400 |
| commit | 7db5e19f7499cce5b86d63f8af5ae5ecf7245bf0 (patch) | |
| tree | 532fc89a01b88eb427d714940b015a61a7e960cb /include | |
| parent | f3840ed110ecaac1a2777692b714f283600d9afa (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.h | 2 | ||||
| -rw-r--r-- | include/sysconf.h.cmake | 2 |
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@" |
