view doc/windows-without-msvc.texi @ 40184:7f0ac0398fae

gnulib-tool: Improve handling of multiple --local-dir options. * doc/gnulib.texi (Extending Gnulib): Explain how multiple --local-dir options work. * gnulib-tool (func_path_prepend): Remove function. (func_path_foreach): Make IFS handling more robust. (local_gnulib_path): Collect --local-dir values using func_path_append, not func_path_prepend. (func_determine_path_separator): Make IFS handling more robust. (func_lookup_file_cb): New function. (func_lookup_file): Rewritten to use func_lookup_file_cb instead of func_lookup_local_file. Apply the patches in the reverse order of their origin in $local_gnulib_path. (func_count_relative_local_gnulib_path): Make IFS handling more robust. * NEWS: Mention that the first --local-dir option is the one with highest priority.
author Bruno Haible <bruno@clisp.org>
date Thu, 14 Feb 2019 20:50:57 +0100
parents 19886582ca8d
children
line wrap: on
line source

@node Native Windows Support without MSVC Support
@section Native Windows Support without MSVC Support

If your package does not desire to have MSVC support, that is, if MinGW
shall be the only native Windows platform that you wish to get support
for from Gnulib, and you wish to minimize the number of files imported
from Gnulib accordingly, you can do so by passing the options
@samp{--avoid=msvc-inval --avoid=msvc-nothrow} to @code{gnulib-tool}.