Bruno Haible <br...@clisp.org> writes: > Simon Josefsson wrote: >> ./config.log contains the content below. What's interesting is >> that there is no #include <termios.h> which I believe is needed? > > Good point. I'm applying the patches below, that fixes it.
Thank you! I will test. >> The gltests/config.log file contains: >> >> configure:30414: checking whether tcgetsid is declared >> configure:30414: result: yes >> >> however ./config.log contains the content below. > > Really bizarre. I tried the same thing on a glibc/Linux system, and got > S["HAVE_DECL_TCGETSID"]="0" > twice. Did you run the exact same command as I did? Just testing the 'tcgetsid' module is not sufficient, then it works as expected. It only happened when I tried a build of (almost) all gnulib modules. >> maybe other headers are >> enabled there, and the tcgetsid prototype gets defined indirectly. > > The only glibc header that includes <termios.h> is <pty.h>, which is not > included by the test program. Are different gcc options enabled in . and > gltests? Nope, I just ran ./configure -C && make in the directory created by rm -rf m && ./gnulib-tool --create-testdir --with-tests --dir m --without-longrunning-tests /Simon