Message Reference is now reported for each of --ring-send multipart SMSes.
[mdsms.git] / acconfig.h
index 4859a4b..890db9d 100644 (file)
@@ -3,6 +3,21 @@
  * $Id$
  */
 
+/* Define if your locale.h file contains LC_MESSAGES.  */
+#undef HAVE_LC_MESSAGES
+
+/* Define to 1 if NLS is requested.  */
+#undef ENABLE_NLS
+
+/* Define as 1 if you have catgets and don't want to use GNU gettext.  */
+#undef HAVE_CATGETS
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext.  */
+#undef HAVE_GETTEXT
+
+/* Define as 1 if you have the stpcpy function.  */
+#undef HAVE_STPCPY
+
 /* __NORETURN define - usually a GCC extension. */
 #undef __NORETURN
 
@@ -185,3 +200,32 @@ extern char *sys_errlist[];
 #ifndef HAVE_OFFSETOF
 #define offsetof(a,b) ((size_t)&((a *)0)->b)
 #endif
+
+#ifndef DONT_NEED_DECLARATIONS
+/*
+ * Handles all of the internationalization configuration options.
+ * Author: Tom Tromey <tromey@creche.cygnus.com>
+ * Stolen from <libgnome/gnome-i18n.h>
+ * Modified by Jan Kratochvil <short@ucw.cz>
+ */
+#ifdef ENABLE_NLS
+#ifdef HAVE_LIBINTL_H
+#    include <libintl.h>
+#endif /* HAVE_LIBINTL_H */
+#    define _(String) gettext (String)
+#    ifdef gettext_noop
+#        define N_(String) gettext_noop (String)
+#    else
+#        define N_(String) (String)
+#    endif
+#else /* ENABLE_NLS */
+/* Stubs that do something close enough.  */
+#    define textdomain(String) (String)
+#    define gettext(String) (String)
+#    define dgettext(Domain,Message) (Message)
+#    define dcgettext(Domain,Message,Type) (Message)
+#    define bindtextdomain(Domain,Directory) (Domain)
+#    define _(String) (String)
+#    define N_(String) (String)
+#endif /* ENABLE_NLS */
+#endif /* !DONT_NEED_DECLARATIONS */