default to /dev/cuaa on sparc; robert nagy

This commit is contained in:
pvalchev 2004-03-23 19:01:17 +00:00
parent 615ae08131
commit 0d6b2aeaa3

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.1 2002/03/22 05:31:37 form Exp $
--- configure.in.orig Sun Sep 30 20:10:33 2001
+++ configure.in Fri Mar 22 08:46:21 2002
$OpenBSD: patch-configure_in,v 1.2 2004/03/23 19:01:17 pvalchev Exp $
--- configure.in.orig 2001-09-30 07:10:33.000000000 -0600
+++ configure.in 2004-03-23 10:50:26.000000000 -0700
@@ -249,7 +249,7 @@ AC_CHECK_FUNC(select,
KEYSERV="",
KEYSERV="minicom.keyserv")
@ -10,3 +10,22 @@ $OpenBSD: patch-configure_in,v 1.1 2002/03/22 05:31:37 form Exp $
dnl system capabilities
AC_SYS_LONG_FILE_NAMES
@@ -375,6 +375,18 @@ fi
if test "x$DFL_PORT" = x
then
+ DFL_PORT=/dev/cuaa
+ if test -c $DFL_PORT
+ then
+ AC_MSG_RESULT($DFL_PORT)
+ AC_DEFINE_UNQUOTED(DFL_PORT, "$DFL_PORT")
+ else
+ DFL_PORT=""
+ fi
+fi
+
+if test "x$DFL_PORT" = x
+then
DFL_PORT=/dev/cua/b
if test -c $DFL_PORT
then