configure

changeset 282
8c5540b31087
parent 281
95d0fe30b3fa
child 283
a53a04d1da97
equal deleted inserted replaced
281:95d0fe30b3fa 282:8c5540b31087
622 echo "# flags for target tools" >> "$TEMP_DIR/flags.mk" 622 echo "# flags for target tools" >> "$TEMP_DIR/flags.mk"
623 TEMP_CFLAGS= 623 TEMP_CFLAGS=
624 TEMP_CXXFLAGS= 624 TEMP_CXXFLAGS=
625 TEMP_LDFLAGS= 625 TEMP_LDFLAGS=
626 626
627 if dependency_error_toolkit; then
628 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED toolkit "
629 ERROR=1
630 fi
631 if dependency_error_gtk3; then
632 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED gtk3 "
633 ERROR=1
634 fi
635 if dependency_error_ucx; then
636 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ucx "
637 ERROR=1
638 fi
639 627
640 # Features 628 # Features
641 if [ -n "$FEATURE_TOOLS" ]; then 629 if [ -n "$FEATURE_TOOLS" ]; then
630 # check dependency
631 if dependency_error_toolkit ; then
632 # "auto" features can fail and are just disabled in this case
633 if [ "$FEATURE_TOOLS" = "auto" ]; then
634 DISABLE_FEATURE_TOOLS=1
635 else
636 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED toolkit "
637 ERROR=1
638 fi
639 fi
640 # check dependency
641 if dependency_error_gtk3 ; then
642 # "auto" features can fail and are just disabled in this case
643 if [ "$FEATURE_TOOLS" = "auto" ]; then
644 DISABLE_FEATURE_TOOLS=1
645 else
646 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED gtk3 "
647 ERROR=1
648 fi
649 fi
650 # check dependency
651 if dependency_error_ucx ; then
652 # "auto" features can fail and are just disabled in this case
653 if [ "$FEATURE_TOOLS" = "auto" ]; then
654 DISABLE_FEATURE_TOOLS=1
655 else
656 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ucx "
657 ERROR=1
658 fi
659 fi
642 if [ -n "$DISABLE_FEATURE_TOOLS" ]; then 660 if [ -n "$DISABLE_FEATURE_TOOLS" ]; then
643 unset FEATURE_TOOLS 661 unset FEATURE_TOOLS
644 fi 662 fi
645 fi 663 fi
646 if [ -n "$FEATURE_TOOLS" ]; then 664 if [ -n "$FEATURE_TOOLS" ]; then

mercurial