diff --git a/INSTALL b/INSTALL index 2099840..c1722d1 100644 --- a/INSTALL +++ b/INSTALL @@ -252,6 +252,11 @@ not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common + On macOS, automake and autoconf are not part of the default OS. In +order to overcome this, you should install them manually. For example: + + brew install automake autoconf + Specifying the System Type ========================== diff --git a/src/tty.c b/src/tty.c index 3713452..d5a6bd8 100644 --- a/src/tty.c +++ b/src/tty.c @@ -537,7 +537,11 @@ int tty_connect(void) int status; /* Open tty device */ - fd = open(option.tty_device, O_RDWR | O_NOCTTY ); +#ifdef __APPLE__ + fd = open(option.tty_device, O_RDWR | O_NOCTTY | O_NONBLOCK ); +#else + fd = open(option.tty_device, O_RDWR | O_NOCTTY); +#endif if (fd < 0) { error_printf_silent("Could not open tty device (%s)", strerror(errno));