MacOS cu serial ports

* enable /dev/cu.xxx serial port identification
  * update build.m4 for building with Xcode 11
This commit is contained in:
David Freese 2020-03-29 07:25:24 -05:00
parent 6fa841ce44
commit cefe16c8c7
3 changed files with 7 additions and 2 deletions

View file

@ -12,6 +12,9 @@ AC_DEFUN([AC_FLRIG_BUILD_INFO], [
if test "x$target_win32" = "xyes"; then
FLRIG_BUILD_CPPFLAGS="$FLRIG_BUILD_CPPFLAGS -D_WINDOWS"
fi
if test "x$target_darwin" = "xyes"; then
FLRIG_BUILD_CPPFLAGS="$FLRIG_BUILD_CPPFLAGS -fno-stack-check -mmacosx-version-min=10.7”"
fi
# CXXFLAGS
FLRIG_BUILD_CXXFLAGS="$FLTK_CFLAGS -I\$(srcdir) -I\$(srcdir)/include \
$X_CFLAGS -pipe -Wall -fexceptions $OPT_CFLAGS $DEBUG_CFLAGS $PTW32_CFLAGS"
@ -21,6 +24,9 @@ $X_CFLAGS -pipe -Wall -fexceptions $OPT_CFLAGS $DEBUG_CFLAGS $PTW32_CFLAGS"
if test "x$target_mingw32" = "xyes"; then
FLRIG_BUILD_CXXFLAGS="-mthreads $FLRIG_BUILD_CXXFLAGS"
fi
if test "x$target_darwin" = "xyes"; then
FLRIG_BUILD_CXXFLAGS="$FLRIG_BUILD_CXXFLAGS -fno-stack-check -mmacosx-version-min=10.7”"
fi
# LDFLAGS
FLRIG_BUILD_LDFLAGS=
# LDADD

View file

@ -1553,7 +1553,6 @@ _("Enter text as ASCII string\nOr sequence of hex values, x80 etc separated by s
Fl_Group *createCOMMANDS(int X, int Y, int W, int H, const char *label)
{
std::cout << X << ", " << Y << ", " << W << " x " << H << std::endl;
Fl_Group *tabCOMMANDS = new Fl_Group(X, Y, W, H, label);
Fl_Tabs *tabCmds = new Fl_Tabs(X, Y, W, H - 25);

View file

@ -294,7 +294,7 @@ void init_port_combos()
struct stat st;
const char* tty_fmt[] = {
// "/dev/cu.*",
"/dev/cu.*",
"/dev/tty.*"
};