test/configure2

changeset 123
d89b75fdf0aa
parent 122
5706694c17c4
equal deleted inserted replaced
122:5706694c17c4 123:d89b75fdf0aa
652 fi 652 fi
653 if [ -n "$FEATURE_DB" ]; then 653 if [ -n "$FEATURE_DB" ]; then
654 : 654 :
655 TEMP_CFLAGS="$TEMP_CFLAGS -DDATABASE" 655 TEMP_CFLAGS="$TEMP_CFLAGS -DDATABASE"
656 TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DDATABASE" 656 TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DDATABASE"
657 else
658 :
657 fi 659 fi
658 if [ -n "$FEATURE_GUI" ]; then 660 if [ -n "$FEATURE_GUI" ]; then
659 # check dependency 661 # check dependency
660 if dependency_error_gtk3 ; then 662 if dependency_error_gtk3 ; then
661 # "auto" features can fail and are just disabled in this case 663 # "auto" features can fail and are just disabled in this case
672 fi 674 fi
673 if [ -n "$FEATURE_GUI" ]; then 675 if [ -n "$FEATURE_GUI" ]; then
674 : 676 :
675 TEMP_CFLAGS="$TEMP_CFLAGS -DUI=GTK3" 677 TEMP_CFLAGS="$TEMP_CFLAGS -DUI=GTK3"
676 TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DUI=GTK3" 678 TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DUI=GTK3"
679 else
680 :
681 TEMP_CFLAGS="$TEMP_CFLAGS -DCONSOLE"
682 TEMP_CXXFLAGS="$TEMP_CXXFLAGS -DCONSOLE"
677 fi 683 fi
678 684
679 # Option: --toolkit 685 # Option: --toolkit
680 if [ -z "$OPT_TOOLKIT" ]; then 686 if [ -z "$OPT_TOOLKIT" ]; then
681 echo "auto-detecting option 'toolkit'" 687 echo "auto-detecting option 'toolkit'"

mercurial