nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH 1/8] add support for gnulib


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH 1/8] add support for gnulib
Date: Sun, 07 Feb 2016 13:23:50 +0100

On Sun, Feb 7, 2016, at 01:03, Mike Frysinger wrote:
> On a current Linux system, the size of nano is unchanged.
> We start off with importing only a few modules, although
> we don't yet delete the fallback logic for them.
> ---
>  .gitignore      |  7 +++++++
>  Makefile.am     |  2 +-
>  autogen.sh      | 12 ++++++++++++
>  configure.ac    |  7 +++++++
>  m4/Makefile.am  |  2 +-
>  src/Makefile.am |  4 ++--
>  6 files changed, 30 insertions(+), 4 deletions(-)

Wow.  So simple?

So, before rolling a tarball, all one does is:

  GNULIB_SRCDIR=/path/to/repo/of/gnulib/ ./autogen.sh

and all the rest is automatic: the needed files are copied
over to lib/, a Makefile.am is included, and this makes sure
the relevant files are also included in DIST.  Wow.  Easy!

:)

> diff --git a/.gitignore b/.gitignore
> index fd20327..b3cd19b 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -13,6 +13,7 @@ core
>  /ABOUT-NLS
>  /INSTALL
>  /aclocal.m4
> +/ar-lib

What's ar-lib?

> +# gnulib entries
> +/lib/
> +/m4/.gitignore
> +/m4/gnulib-cache.m4
> +/snippet/

What's in snippet/?

And why's m4/.gitignore needed when the only
ignored file is already mentioned here?

> +dnl Lie about gnulib features we don't use to speed up & shrink down.
> +
> +gl_cv_func_printf_infinite_long_double=yes

Hm?  What does this do?  Where is the lie?  What goes
faster?  And what shrinks?

Benno

-- 
http://www.fastmail.com - Choose from over 50 domains or use your own




reply via email to

[Prev in Thread] Current Thread [Next in Thread]