Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <013d01c11121$24cd1ea0$806410ac@local>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <cygwin@cygwin.com>, <jjarvie@newsguy.com>
References: <200107201332.GAA08218@newsguy.com>
Subject: Re: autoconf error with /dev/ptmx
Date: Fri, 20 Jul 2001 23:37:37 +1000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-OriginalArrivalTime: 20 Jul 2001 13:24:10.0741 (UTC) FILETIME=[42EA8A50:01C1111F]


----- Original Message -----
From: <jjarvie@newsguy.com>
To: <cygwin@cygwin.com>
Sent: Friday, July 20, 2001 11:32 PM
Subject: autoconf error with /dev/ptmx


> I've got a strange problem compiling stunnel-3.15
>
> configure calls the following checks:
>
> AC_CHECK_FILE("/dev/ptmx", AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX))
> AC_CHECK_FILE("/dev/ptc", AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC))
>
> The first check succeeds(!) and the second fails.

That's because cygwin has a virtual /dev/ptmx and no /dev/ptc. You are
getting the correct results.

> ls -al /dev gives:
>
> total 0
> srwxrwxrwx    1 Administ None           15 Jun 19  2000 log
> crw-rw-rw-    1 Everyone Everyone  19,   0 Jul 20  2001 null

This is irrelevant :-/. Sorry.

Rob

> To fix this all I have to do is delete the HAVE_DEV_PTMX define in
Makefile
> but I would like to know what is going on.
>
> Thanks for any ideas
>
> John Jarvie
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

