# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1591209506 0 # Node ID 498bdd71a556d1d83fb6e02d3aabe7e138aad6fb # Parent 43453c9a404c12c58320361e3c27ce81bf55b24b Mac: The UserNotifications framework version test was broken. Hopefully this test for Darwin 18 or higher will work. diff -r 43453c9a404c -r 498bdd71a556 configure --- a/configure Wed Jun 03 05:53:05 2020 +0000 +++ b/configure Wed Jun 03 18:38:26 2020 +0000 @@ -4676,8 +4676,8 @@ DW_SRC=dw.m DW_DEFINE=__MAC__ LIBS="$LIBS -framework Cocoa -framework WebKit" - OSVER=`uname -r` - if test $OSVER > 17.9.9; then + OSVER=`uname -r | cut -d. -f1` + if test $OSVER -ge "18"; then LIBS="$LIBS -framework UserNotifications" fi build_gtk="no" diff -r 43453c9a404c -r 498bdd71a556 configure.in --- a/configure.in Wed Jun 03 05:53:05 2020 +0000 +++ b/configure.in Wed Jun 03 18:38:26 2020 +0000 @@ -176,8 +176,8 @@ DW_SRC=dw.m DW_DEFINE=__MAC__ LIBS="$LIBS -framework Cocoa -framework WebKit" - OSVER=`uname -r` - if test $OSVER > 17.9.9; then + OSVER=`uname -r | cut -d. -f1` + if test $OSVER -ge "18"; then LIBS="$LIBS -framework UserNotifications" fi build_gtk="no"