From 02314de0eead09522217503bfe859da4dacc0689 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 1 Nov 2019 15:39:52 +0100 Subject: [PATCH] Suppress spurious "unsupported DPI awareness" configure messages If --with-dpi option is not specified at all, wxWITH_DPI_MANIFEST remains empty, so take this value into account explicitly. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ad2298535c..52c1ff73ad 100755 --- a/configure +++ b/configure @@ -18417,7 +18417,7 @@ case "$wxWITH_DPI_MANIFEST" in USE_DPI_AWARE_MANIFEST=0 ;; system) USE_DPI_AWARE_MANIFEST=1 ;; - per-monitor) + ''|per-monitor) USE_DPI_AWARE_MANIFEST=2 ;; *) USE_DPI_AWARE_MANIFEST=0 diff --git a/configure.in b/configure.in index 3dee781f6a..f7597a2c48 100644 --- a/configure.in +++ b/configure.in @@ -1131,7 +1131,7 @@ case "$wxWITH_DPI_MANIFEST" in USE_DPI_AWARE_MANIFEST=0 ;; system) USE_DPI_AWARE_MANIFEST=1 ;; - per-monitor) + ''|per-monitor) USE_DPI_AWARE_MANIFEST=2 ;; *) USE_DPI_AWARE_MANIFEST=0