From 631ee1faa6ac03c55eca293d0b76997f29205e34 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Wed, 15 Jan 2003 17:40:35 +0000 Subject: [PATCH] Small cleanups. Add copyright header, add autopoint support and define bug report address and full package name in AC_INIT. Move ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1355 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ configure.ac | 37 ++++++++++++++++++++++++++++--------- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d151f984..e423e03a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -63,6 +63,9 @@ Changes - Fix typo. (David Benbennick) - Check for strcasecmp() and strncasecmp(), since they are apparently only standard under BSD. (DLR) + - Small cleanups. Add copyright header, add autopoint support and + define bug report address and full package name in AC_INIT. Move + ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11. - color.c: update_color(): - Remove an unneeded edit_refresh() call after do_colorinit(). diff --git a/configure.ac b/configure.ac index 3a4f0506..75821161 100644 --- a/configure.ac +++ b/configure.ac @@ -1,18 +1,40 @@ +# Configuration for GNU nano - a small and user-friendly text editor +# +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# +# GNU Nano is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Nano is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Nano; if not, write to the Free Software +# Foundation, Inc. +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# # $Id$ -dnl Process this file with autoconf to produce a configure script. -AC_INIT + +AC_INIT([GNU Nano], [1.1.12-cvs], [nano-devel@gnu.org], [nano]) AC_CONFIG_SRCDIR([nano.c]) +AM_INIT_AUTOMAKE +AC_CONFIG_HEADERS([config.h]) + AC_PREREQ(2.52) -AM_INIT_AUTOMAKE(nano, 1.1.12-cvs) -AM_CONFIG_HEADER(config.h:config.h.in) -dnl AM_ACLOCAL_INCLUDE(m4) -ALL_LINGUAS="es de fr it id fi hu ca cs gl uk ru sv nn nl da pl nb ms pt_BR tr" dnl Checks for programs. AC_PROG_CC AC_ISC_POSIX AC_SYS_LARGEFILE +dnl Internationalization macros. +AM_GNU_GETTEXT_VERSION(0.11.5) +AM_GNU_GETTEXT([external], [need-ngettext]) + dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termio.h termios.h unistd.h) @@ -313,8 +335,5 @@ then LDFLAGS="$LDFLAGS $glib_libs" fi -dnl i18n stuff - pretty incomplete for now -AM_GNU_GETTEXT([external], [need-ngettext]) - AC_CONFIG_FILES([Makefile m4/Makefile po/Makefile.in nano.spec]) AC_OUTPUT -- 2.39.5