emacs-devel
[Top][All Lists]
Advanced

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

Re: Android port


From: Eli Zaretskii
Subject: Re: Android port
Date: Sun, 06 Aug 2023 21:19:29 +0300

> Date: Sun, 6 Aug 2023 20:11:05 +0200 (CEST)
> From: Angelo Graziosi <angelo.g0@libero.it>
> Cc: luangruo@yahoo.com, bruno@clisp.org, eggert@cs.ucla.edu,
>       emacs-devel@gnu.org
> 
> > Are you sure you did all the steps starting from autogen.sh and
> > running the configure script?
> 
> For sanity check I removed the tree and repeated the steps:
> 
> $ aunpack emacs-bfbdf4eb892935536fc665d6cc986fd669364263.tar.gz
> $ cd emacs-bfbdf4eb892935536fc665d6cc986fd669364263/
> $ patch nt/mingw-cfg.site ../android-01.patch
> $ patch nt/mingw-cfg.site ../android-02.patch
> $ patch nt/mingw-cfg.site ../android-03.patch
> 
> $ tail /tmp/emacs-bfbdf4eb892935536fc665d6cc986fd669364263/nt/mingw-cfg.site
> gl_cv_func_free_preserves_errno=yes
> # Don't build the Gnulib nanosleep module: it requires W2K or later,
> # and MinGW does have nanosleep.
> gl_cv_func_nanosleep=yes
> # Suppress configure-time diagnostic from unnecessary libxattr check,
> # as xattr will not be supported here.
> enable_xattr=no
> # Don't build gnulib printf either.
> ac_cv_func_vasprintf=yes
> gl_cv_func_vasprintf_posix=yes
> 
> 
> $ ./autogen.sh
> $ ./configure
> $ make
> [...]
> asprintf.c:30:1: error: redefinition of 'asprintf'
>    30 | asprintf (char **resultp, const char *format, ...)
>       | ^~~~~~~~

OK, thanks.

> >   $ grep 'gl_REPLACE_VASN\?PRINTF' *.m4
> 
> $ grep 'gl_REPLACE_VASN\?PRINTF' *.m4
> printf-posix.m4:    gl_REPLACE_VASNPRINTF
> vasnprintf.m4:    gl_REPLACE_VASNPRINTF
> vasnprintf.m4:AC_DEFUN([gl_REPLACE_VASNPRINTF],
> vasprintf.m4:    gl_REPLACE_VASPRINTF
> vasprintf.m4:AC_DEFUN([gl_REPLACE_VASPRINTF],
> vasprintf-posix.m4:    gl_REPLACE_VASNPRINTF
> vasprintf-posix.m4:    gl_REPLACE_VASPRINTF
> vfprintf-posix.m4:    gl_REPLACE_VASNPRINTF

So I think we need to set 3 more variables:

 gl_cv_func_printf_posix=yes
 gl_cv_func_vfprintf_posix=yes
 gl_cv_vasprintf_posix=yes



reply via email to

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