bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to test if I've got openpty?


From: Reuben Thomas
Subject: Re: How to test if I've got openpty?
Date: Wed, 30 Jan 2013 17:02:48 +0000

On 30 January 2013 15:25, Reuben Thomas <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]