[Top][All Lists]

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

Re: convert regex.c, strftime.c mktime.c to standard C

From: Bruno Haible
Subject: Re: convert regex.c, strftime.c mktime.c to standard C
Date: Sat, 20 Nov 2010 16:43:52 +0100
User-agent: KMail/1.9.9


> > Maybe you meant that retrofitting gnulib's code into the Emacs build
> > system with src/s/ and src/m/ would require to run the configury stuff
> > on each supported platform.
> Of course, that's what I meant.

This is not the documented way how gnulib is meant to be used. The way
to use gnulib is to take its code and autoconf macros as a unit, for
each module.

Emacs uses an Autoconf configure.in. Autoconf makes it unnecessary to
"run the configury stuff on each supported platform, to get all the
gazillions of preprocessor symbols defined correctly". The approach you
describe is the one in use before Autoconf came along.

> > Note that DJGPP is not a supported platform of gnulib.
> And neither is MinGW, AFAICS, at least not without using MSYS, which
> is not how Emacs works.

Not true. mingw is supported by about 98% of gnulib (see the documentation
at http://www.gnu.org/software/gnulib/manual/). And, as you might know,
there are 3 ways to build binaries for mingw:
  - using MSYS,
  - from Cygwin,
  - cross-compiling from Unix.
If you don't like one of the three, just choose among the other two approaches.
Several packages that rely on gnulib have build instructions for mingw.
Such as this one:


reply via email to

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