summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-01-25 07:42:51 +0000
committerPaul Smith <psmith@gnu.org>2000-01-25 07:42:51 +0000
commitde2a8fc730d0b87cd19959ba876ffa34d0853dcd (patch)
tree926e855867dbb2b79b5e5fe6050ec3154f35e50e /make.h
parent447c76f601fc1dedfd8e9cc333b8e576b96d1d0c (diff)
downloadgunmake-de2a8fc730d0b87cd19959ba876ffa34d0853dcd.tar.gz
* Updated gettext to use more advanced libit 0.7 version.
* Various cleanups.
Diffstat (limited to 'make.h')
-rw-r--r--make.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/make.h b/make.h
index d217632..3b79d5d 100644
--- a/make.h
+++ b/make.h
@@ -40,26 +40,14 @@ Boston, MA 02111-1307, USA. */
#endif /* C++ or ANSI C. */
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
+#include "gettext.h"
+#define _(Text) gettext (Text)
+#define N_(Text) gettext_noop (Text)
+
#if !HAVE_SETLOCALE
# define setlocale(Category, Locale) /* empty */
#endif
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# undef bindtextdomain
-# define bindtextdomain(Domain, Directory) /* empty */
-# undef textdomain
-# define textdomain(Domain) /* empty */
-# define _(Text) Text
-# define gettext(Text) Text
-#endif
-#define N_(Text) Text
-
#ifdef CRAY
/* This must happen before #include <signal.h> so