configure

branch
newapi
changeset 171
5065d0d52680
parent 170
ad9edb497857
child 174
0358f1d9c506
equal deleted inserted replaced
170:ad9edb497857 171:5065d0d52680
413 done 413 done
414 414
415 echo no 415 echo no
416 return 1 416 return 1
417 } 417 }
418 dependency_wpf() 418 dependency_winui()
419 { 419 {
420 printf "checking for wpf... " 420 printf "checking for winui... "
421 # dependency wpf platform="windows" 421 # dependency winui platform="windows"
422 while true 422 while true
423 do 423 do
424 if isnotplatform "windows"; then 424 if isnotplatform "windows"; then
425 break 425 break
426 fi 426 fi
427 CFLAGS="$CFLAGS -DUI_WPF" 427 CFLAGS="$CFLAGS -DUI_WINUI"
428 echo yes 428 echo yes
429 return 0 429 return 0
430 done 430 done
431 431
432 echo no 432 echo no
655 SAVED_DEPENDENCIES_FAILED=$DEPENDENCIES_FAILED 655 SAVED_DEPENDENCIES_FAILED=$DEPENDENCIES_FAILED
656 ERROR=0 656 ERROR=0
657 while true 657 while true
658 do 658 do
659 if isplatform "windows"; then 659 if isplatform "windows"; then
660 checkopt_toolkit_wpf 660 checkopt_toolkit_winui
661 if [ $? -eq 0 ]; then 661 if [ $? -eq 0 ]; then
662 echo " toolkit: wpf" >> $TEMP_DIR/options 662 echo " toolkit: winui" >> $TEMP_DIR/options
663 ERROR=0 663 ERROR=0
664 break 664 break
665 fi 665 fi
666 fi 666 fi
667 if isplatform "macos"; then 667 if isplatform "macos"; then

mercurial