613 fi |
614 fi |
614 break |
615 break |
615 done |
616 done |
616 if [ $ERROR -ne 0 ]; then |
617 if [ $ERROR -ne 0 ]; then |
617 SAVED_ERROR=1 |
618 SAVED_ERROR=1 |
|
619 SAVED_DEPENDENCIES_FAILED="option 'toolkit' $SAVED_DEPENDENCIES_FAILED" |
618 fi |
620 fi |
619 ERROR="$SAVED_ERROR" |
621 ERROR="$SAVED_ERROR" |
620 DEPENDENCIES_FAILED="$SAVED_DEPENDENCIES_FAILED" |
622 DEPENDENCIES_FAILED="$SAVED_DEPENDENCIES_FAILED" |
621 else |
623 else |
|
624 echo "checking option toolkit = $OPT_TOOLKIT" |
622 if false; then |
625 if false; then |
623 false |
626 false |
624 elif [ "$OPT_TOOLKIT" = "gtk3" ]; then |
627 elif [ "$OPT_TOOLKIT" = "gtk3" ]; then |
625 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
628 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
626 if checkopt_toolkit_gtk3 ; then |
629 if checkopt_toolkit_gtk3 ; then |
627 : |
630 : |
628 else |
631 else |
629 ERROR=1 |
632 ERROR=1 |
|
633 DEPENDENCIES_FAILED="option 'toolkit' $DEPENDENCIES_FAILED" |
630 fi |
634 fi |
631 elif [ "$OPT_TOOLKIT" = "cli" ]; then |
635 elif [ "$OPT_TOOLKIT" = "cli" ]; then |
632 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
636 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
633 if checkopt_toolkit_cli ; then |
637 if checkopt_toolkit_cli ; then |
634 : |
638 : |
635 else |
639 else |
636 ERROR=1 |
640 ERROR=1 |
|
641 DEPENDENCIES_FAILED="option 'toolkit' $DEPENDENCIES_FAILED" |
637 fi |
642 fi |
638 elif [ "$OPT_TOOLKIT" = "gtk2" ]; then |
643 elif [ "$OPT_TOOLKIT" = "gtk2" ]; then |
639 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
644 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
640 if checkopt_toolkit_gtk2 ; then |
645 if checkopt_toolkit_gtk2 ; then |
641 : |
646 : |
642 else |
647 else |
643 ERROR=1 |
648 ERROR=1 |
|
649 DEPENDENCIES_FAILED="option 'toolkit' $DEPENDENCIES_FAILED" |
644 fi |
650 fi |
645 elif [ "$OPT_TOOLKIT" = "wpf" ]; then |
651 elif [ "$OPT_TOOLKIT" = "wpf" ]; then |
646 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
652 echo " toolkit: $OPT_TOOLKIT" >> $TEMP_DIR/options |
647 if checkopt_toolkit_wpf ; then |
653 if checkopt_toolkit_wpf ; then |
648 : |
654 : |
649 else |
655 else |
650 ERROR=1 |
656 ERROR=1 |
|
657 DEPENDENCIES_FAILED="option 'toolkit' $DEPENDENCIES_FAILED" |
651 fi |
658 fi |
652 fi |
659 fi |
653 fi |
660 fi |
654 |
661 |
655 if [ -n "${TEMP_CFLAGS}" -a -n "$lang_c" ]; then |
662 if [ -n "${TEMP_CFLAGS}" -a -n "$lang_c" ]; then |