Re: Gnulib in non-Autotools projects with --create-testdir

2020-08-31 Thread Bruno Haible
John Scott wrote: > gllib/unistd.h:621:3: error: #error "Please include config.h first." > 621 | #error "Please include config.h first." > | ^ > > I'm not using Autotools for my project, so I don't get why I should include > config.h. This is explained in

Re: Gnulib in non-Autotools projects with --create-testdir

2020-08-31 Thread John Scott
On Sunday, August 30, 2020 6:54:08 AM EDT Bruno Haible wrote: > This indicates that you have been generating the sys/utsname.h on a machine > that has /usr/include/sys/utsname.h (e.g. not mingw) and are now trying to > use it on mingw. You're right, I was doing something weirdly, probably forgetti

Re: Gnulib in non-Autotools projects with --create-testdir

2020-08-30 Thread Bruno Haible
Hi John, > I'm working on a project that uses the Meson build system. I'd like to use > the > uname module on MinGW-w64 Interesting. Once you have a recipe that works, we could add it to the Gnulib documentation. > so I consulted a relevant discussion about Gnulib > with CMake [1]: > > >> Bu

Gnulib in non-Autotools projects with --create-testdir

2020-08-29 Thread John Scott
Hi, I'm working on a project that uses the Meson build system. I'd like to use the uname module on MinGW-w64, so I consulted a relevant discussion about Gnulib with CMake [1]: >> But gnulib-tool by design creates a subdirectory, and you can yourself add >> a simple configure.ac to that subdirec