>
> > 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.
>
Yes, the check breaks on cygwin. May be, replacing it with AC_TRY_RUN a
pogram that contains
open("/dev/ptmx", O_RDWR)
would be a better idea (and it will have the same implication on cross
compiling).
> > 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
>
Somebody has created them but cygwin does not use these files.
-andrej
--
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/