mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Updated configure.ac with openssl cross-compiling updates for /dev/ptc and /dev/ptmx
This commit is contained in:
parent
14f2e85c6f
commit
e671489ad1
@ -519,22 +519,34 @@ mips-sony-bsd|mips-sony-newsos4)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then
|
||||||
|
AC_MSG_WARN([cross compiling: Disabling /dev/ptmx test])
|
||||||
|
disable_ptmx_check=yes
|
||||||
|
fi
|
||||||
if test -z "$no_dev_ptmx" ; then
|
if test -z "$no_dev_ptmx" ; then
|
||||||
if test "x$disable_ptmx_check" != "xyes" ; then
|
if test "x$disable_ptmx_check" != "xyes" ; then
|
||||||
AC_CHECK_FILE([/dev/ptmx],
|
AC_CHECK_FILE(["/dev/ptmx"],
|
||||||
[
|
[
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX, 1, [Define if you have /dev/ptmx.])
|
AC_DEFINE_UNQUOTED([HAVE_DEV_PTMX], [1],
|
||||||
|
[Define if you have /dev/ptmx])
|
||||||
have_dev_ptmx=1
|
have_dev_ptmx=1
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_CHECK_FILE([/dev/ptc],
|
|
||||||
[
|
if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC, 1, [Define if you have /dev/ptc.])
|
AC_CHECK_FILE(["/dev/ptc"],
|
||||||
have_dev_ptc=1
|
[
|
||||||
]
|
AC_DEFINE_UNQUOTED([HAVE_DEV_PTS_AND_PTC], [1],
|
||||||
)
|
[Define if you have /dev/ptc])
|
||||||
|
have_dev_ptc=1
|
||||||
|
]
|
||||||
|
)
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([cross compiling: Disabling /dev/ptc test])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl (end of code from openssh-3.2.2p1 configure.ac)
|
dnl (end of code from openssh-3.2.2p1 configure.ac)
|
||||||
|
|
||||||
dnl Check for systems where POSIX-style non-blocking I/O (O_NONBLOCK)
|
dnl Check for systems where POSIX-style non-blocking I/O (O_NONBLOCK)
|
||||||
|
Loading…
Reference in New Issue
Block a user