From 55493c20524e46820ab340c467f34496151dcbff Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 18 Mar 2001 18:55:06 +0000 Subject: [PATCH] Im an idiot, that could easily screw up --included-gettext. Rolled back libintl.h check git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 -- config.h.in | 3 --- configure | 2 +- configure.in | 2 +- cut.c | 2 -- files.c | 2 -- global.c | 2 -- move.c | 2 -- nano.c | 2 -- search.c | 2 -- utils.c | 2 -- winio.c | 2 -- 12 files changed, 2 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index a627d52f..169797a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,8 +6,6 @@ CVS code - the "new" C++ reserved word, even though there is likely no way nano will EVER be compilable with a C++ compiler. (suggested by Rocco Corsi). - - Added explicit check for libintl.h and only #include it if - found. - aclocal.m4 - Minor patch for intl check (Christian Weisgerber) diff --git a/config.h.in b/config.h.in index be195c38..223f9e4a 100644 --- a/config.h.in +++ b/config.h.in @@ -163,9 +163,6 @@ /* Define if you have the header file. */ #undef HAVE_GETOPT_H -/* Define if you have the header file. */ -#undef HAVE_LIBINTL_H - /* Define if you have the header file. */ #undef HAVE_LIMITS_H diff --git a/configure b/configure index ffa88cf8..2d282b31 100755 --- a/configure +++ b/configure @@ -1237,7 +1237,7 @@ EOF fi -for ac_hdr in fcntl.h unistd.h malloc.h termios.h termio.h limits.h getopt.h regex.h libintl.h +for ac_hdr in fcntl.h unistd.h malloc.h termios.h termio.h limits.h getopt.h regex.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 diff --git a/configure.in b/configure.in index 7ce08498..cf840c01 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ AC_ISC_POSIX dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h unistd.h malloc.h termios.h termio.h limits.h getopt.h regex.h libintl.h) +AC_CHECK_HEADERS(fcntl.h unistd.h malloc.h termios.h termio.h limits.h getopt.h regex.h) dnl options AC_ARG_ENABLE(tiny, diff --git a/cut.c b/cut.c index 98ea137a..5e8cba75 100644 --- a/cut.c +++ b/cut.c @@ -27,9 +27,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/files.c b/files.c index 4746fe6f..ebc9b554 100644 --- a/files.c +++ b/files.c @@ -36,9 +36,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/global.c b/global.c index 32628fad..77af9281 100644 --- a/global.c +++ b/global.c @@ -25,9 +25,7 @@ #include "proto.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/move.c b/move.c index 065de623..bda2c3c8 100644 --- a/move.c +++ b/move.c @@ -27,9 +27,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/nano.c b/nano.c index d68f283b..1c475a07 100644 --- a/nano.c +++ b/nano.c @@ -43,9 +43,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/search.c b/search.c index 9833b94b..97f1ece7 100644 --- a/search.c +++ b/search.c @@ -29,9 +29,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/utils.c b/utils.c index fb1d5fd8..a1396419 100644 --- a/utils.c +++ b/utils.c @@ -29,9 +29,7 @@ #include "proto.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) diff --git a/winio.c b/winio.c index 4c97daf1..f64ee17b 100644 --- a/winio.c +++ b/winio.c @@ -28,9 +28,7 @@ #include "nano.h" #ifndef NANO_SMALL -#ifdef HAVE_LIBINTL_H #include -#endif #define _(string) gettext(string) #else #define _(string) (string) -- 2.39.5