replace wpf with winui in the configure script newapi

Sat, 15 Apr 2023 15:42:31 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 15 Apr 2023 15:42:31 +0200
branch
newapi
changeset 171
5065d0d52680
parent 170
ad9edb497857
child 172
706080c30af6

replace wpf with winui in the configure script

configure file | annotate | diff | comparison | revisions
make/project.xml file | annotate | diff | comparison | revisions
--- a/configure	Sat Apr 15 15:40:31 2023 +0200
+++ b/configure	Sat Apr 15 15:42:31 2023 +0200
@@ -415,16 +415,16 @@
 	echo no
 	return 1
 }
-dependency_wpf()
+dependency_winui()
 {
-    printf "checking for wpf... "
-    # dependency wpf platform="windows"
+    printf "checking for winui... "
+    # dependency winui platform="windows"
     while true
     do
     	if isnotplatform "windows"; then
             break
         fi
-        CFLAGS="$CFLAGS -DUI_WPF"    
+        CFLAGS="$CFLAGS -DUI_WINUI"    
 		echo yes
         return 0
     done
@@ -657,9 +657,9 @@
 	while true
 	do
 		if isplatform "windows"; then
-		checkopt_toolkit_wpf
+		checkopt_toolkit_winui
 		if [ $? -eq 0 ]; then
-			echo "  toolkit: wpf" >> $TEMP_DIR/options
+			echo "  toolkit: winui" >> $TEMP_DIR/options
 			ERROR=0
 			break
 		fi
--- a/make/project.xml	Sat Apr 15 15:40:31 2023 +0200
+++ b/make/project.xml	Sat Apr 15 15:42:31 2023 +0200
@@ -21,8 +21,8 @@
 		<cflags>-DUI_GTK2 -DUI_GTK2LEGACY</cflags>
 		<ldflags>-lpthread</ldflags>
 	</dependency>
-	<dependency name="wpf" platform="windows">
-		<cflags>-DUI_WPF</cflags>
+	<dependency name="winui" platform="windows">
+		<cflags>-DUI_WINUI</cflags>
 	</dependency>
 	<dependency name="qt4">
 		<test>which qmake-qt4</test>
@@ -92,7 +92,7 @@
 				<dependencies>motif</dependencies>
 				<make>TOOLKIT = motif</make>
 			</value>
-			<default value="wpf" platform="windows" />
+			<default value="winui" platform="windows" />
 			<default value="cocoa" platform="macos" />
 			<default value="gtk3" />
 			<default value="qt5" />

mercurial