On 30 January 2013 15:25, Reuben Thomas <r...@sc3d.org> wrote: > I've included the openpty module in a project, and I see that it doesn't > work on all platforms. I assumed that I should test HAVE_OPENPTY to see if > I got it, but HAVE_OPENPTY is undefined in my config.h, even though it's > set to 1 in config.log. Further, I don't see how HAVE_OPENPTY can be 0, > since my glibc/Linux system definitely has openpty. >
Further to this, if I remove the gnulib openpty module, then HAVE_OPENPTY is set to 1 as I'd expect in config.h (the test is still required by some other part of gnulib I'm using, apparently: my module list is: ctype, manywarnings, [openpty, ]regex, stdnoreturn). -- http://rrt.sc3d.org