1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

Change compile-time error message. Add comment about

required autoconf version.

Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.
This commit is contained in:
Jim Meyering
2002-11-22 10:28:44 +00:00
parent cc92325877
commit 70641e502d

View File

@@ -30,14 +30,9 @@ void *realloc ();
void free (); void free ();
#endif #endif
#if ENABLE_NLS #include "gettext.h"
# include <libintl.h> #define _(msgid) gettext (msgid)
# define _(Text) gettext (Text) #define N_(msgid) msgid
#else
# define textdomain(Domain)
# define _(Text) Text
#endif
#define N_(Text) Text
#include "error.h" #include "error.h"
#include "xalloc.h" #include "xalloc.h"
@@ -46,12 +41,14 @@ void free ();
# define EXIT_FAILURE 1 # define EXIT_FAILURE 1
#endif #endif
/* The following tests require AC_PREREQ(2.54). */
#ifndef HAVE_MALLOC #ifndef HAVE_MALLOC
"you must run the autoconf test for a properly working malloc" "you must run the autoconf test for a GNU libc compatible malloc"
#endif #endif
#ifndef HAVE_REALLOC #ifndef HAVE_REALLOC
"you must run the autoconf test for a properly working realloc" "you must run the autoconf test for a GNU libc compatible realloc"
#endif #endif
/* Exit value when the requested amount of memory is not available. /* Exit value when the requested amount of memory is not available.