*-apple-darwin*)
AC_CHECK_HEADER(mach/mach_time.h,,AC_MSG_ERROR($msg_required_header_missing))
AC_CHECK_HEADER(CoreVideo/CVHostTime.h,,AC_MSG_ERROR($msg_required_header_missing))
+ AC_DEFINE([TARGET_DARWIN], [1], [Darwin target])
;;
esac
for (i = 0; i < 8; ++i)
{
(void)snprintf(devicePath, sizeof(devicePath), "/dev/ttyU%d", i);
+ if (strDevicePath && strcmp(devicePath, strDevicePath) != 0)
+ continue;
if (!access(devicePath, 0))
{
snprintf(deviceList[iFound].path, sizeof(deviceList[iFound].path), "%s", devicePath);