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
This commit is contained in:
Chris Allegretta 2001-03-18 18:55:06 +00:00
parent 4aa302fe4a
commit 55493c2052
12 changed files with 2 additions and 23 deletions

View File

@ -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)

View File

@ -163,9 +163,6 @@
/* Define if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* Define if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H

2
configure vendored
View File

@ -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

View File

@ -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,

2
cut.c
View File

@ -27,9 +27,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

View File

@ -36,9 +36,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

View File

@ -25,9 +25,7 @@
#include "proto.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

2
move.c
View File

@ -27,9 +27,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

2
nano.c
View File

@ -43,9 +43,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

View File

@ -29,9 +29,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

View File

@ -29,9 +29,7 @@
#include "proto.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)

View File

@ -28,9 +28,7 @@
#include "nano.h"
#ifndef NANO_SMALL
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif
#define _(string) gettext(string)
#else
#define _(string) (string)