bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#22959: Emacs on Windows depends on libwinpthreads


From: Fabrice Popineau
Subject: bug#22959: Emacs on Windows depends on libwinpthreads
Date: Tue, 19 Apr 2016 09:26:55 +0200



2016-04-18 21:02 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Mon, 18 Apr 2016 15:41:59 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, 22959@debbugs.gnu.org
>
> Add this:
>
> diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
> index 05034fe..0063c2b 100644
> --- a/nt/mingw-cfg.site
> +++ b/nt/mingw-cfg.site
> @@ -40,6 +40,12 @@ gl_cv_sys_struct_timespec_in_pthread_h=no
> # Or at all...
> ac_cv_header_pthread_h=no
> +# We don't want to check for these functions
> +# because they are implemented in libwinpthread.
> +ac_cv_search_clock_gettime="none required"
> +ac_cv_func_clock_gettime=no
> +ac_cv_func_clock_settime=no
> +
> # ACL functions are implemented in w32.c
> ac_cv_search_acl_get_file="none required"
> ac_cv_func_acl_get_file=yes
>
> And the dependency towards libwinpthread is gone for MinGW64.

I'm okay with pushing this to master.

BTW, libwinpthread _is not_ GPL.
Sources can be found here
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-libraries/winpthreads/
You only need to redistribute the COPYING file.

Fabrice

reply via email to

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