[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: stdint broken on mingw
From: |
Bruno Haible |
Subject: |
RE: stdint broken on mingw |
Date: |
Sat, 31 Dec 2016 10:47:55 +0100 (CET) |
Hi Jeremy,
> With some further investigation, I think I know what is happening now.
>
> In my build script, I include the path /mingw32/share/aclocal as an aclocal
> search path. It so happens that this contains wint_t.m4, and this version
> does not have the GNULIB_OVERRIDES_WINT_T section in it. So bootstrap is
> actually including this file instead of the one provided by gnulib.
This explains indeed why GNULIB_OVERRIDES_WINT_T can come
out as empty. Thanks for this confirmation that it is not
a bug in gnulib.
Generally, in 'aclocal' invocations, use -I options to
specify:
- first, the directory(ies) containing *.m4 files of
your package and the directory containing *.m4 files
coming from gnulib,
- *after that*, directories outside your package.
This is optional: when automake was installed with
--prefix=/foo, it will automatically search
/foo/share/aclocal/. See
https://www.gnu.org/software/automake/manual/html_node/Macro-Search-Path.html
Bruno