emacs-devel
[Top][All Lists]
Advanced

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

Re: Android port


From: Bruno Haible
Subject: Re: Android port
Date: Sat, 05 Aug 2023 14:47:59 +0200

Eli Zaretskii wrote:
> >   2) after this #include, add
> >      #define asprintf rpl_asprintf
> >      #define printf __printf__
> >      #define vasprintf rpl_vasprintf
> >      #define vfprintf rpl_vfprintf
> >      and add prototypes for these 4 functions.
> 
> I'd prefer to use the simpler machinery of OMIT_GNULIB_MODULE to
> prevent the Emacs build from compiling asprintf.c and similar
> replacements on MS-Windows.  Is that possible?

Only Paul can answer this. The OMIT_GNULIB_MODULE mechanism is an Emacs
invention.

Gnulib's mechanism for avoiding modules is the --avoid=<modulename>
option to gnulib-tool. But that omits the module on *all* platforms.
Gnulib's preferred mechanism for tweaking the behaviour on a platform-
by-platform basis is to preset some gl_cv_* variables, so as to
shortcut specific configure tests.

Bruno






reply via email to

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