configure.ac: Fix AC_DEFINE warning
authorAlexey Gladkov <legion@altlinux.org>
Mon, 28 Jan 2008 10:39:50 +0000 (13:39 +0300)
committerAlexey Gladkov <legion@altlinux.org>
Mon, 28 Jan 2008 11:08:37 +0000 (14:08 +0300)
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
config.h.in
configure.ac

index 4deaa5c..370ea93 100644 (file)
@@ -1,11 +1,11 @@
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 
-/* NLS support */
-#undef ENABLE_NLS
-
 /* Define to 1 if the `closedir' function returns void instead of `int'. */
 #undef CLOSEDIR_VOID
 
+/* Enable Native Language Support */
+#undef ENABLE_NLS
+
 /* Define to 1 if you have the `alarm' function. */
 #undef HAVE_ALARM
 
 /* Define to rpl_realloc if the replacement function should be used. */
 #undef realloc
 
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
 #undef size_t
 
 /* Define to `int' if <sys/types.h> doesn't define. */
index b336585..50a250d 100644 (file)
@@ -68,7 +68,7 @@ AC_ARG_ENABLE(nls, AS_HELP_STRING(--enable-nls, [NLS support]),
        [enable_nls=$enableval], [enable_nls=no])
 
 if test "$enable_nls" = "yes"; then
-       AC_DEFINE(ENABLE_NLS)
+       AC_DEFINE(ENABLE_NLS, 1, [Enable Native Language Support])
 fi
 
 # Does xgettext exist and take the option --foreign-user?