Skip to content

Commit 23695c0

Browse files
ntynitonycoz
authored andcommitted
Fix the Configure escape with usecrosscompile but no targethost
Commit 97076f2 added a graceful exit to Configure when targethost is not defined but usecrosscompile is. However, this is not reached because there is a similar check a bit earlier that makes Configure bail out. Make the earlier check warn instead of croaking. The use case for this combination is supplying an external config.sh suitable for the target platform, avoiding the need for configuration probes.
1 parent f38527b commit 23695c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2973,7 +2973,7 @@ $define|true|[yY]*)
29732973
*) echo "Using targetarch $targetarch." >&4 ;;
29742974
esac
29752975
case "$targethost" in
2976-
'') echo "Targethost not defined." >&4; croak=y ;;
2976+
'') echo "Targethost not defined." >&4; croak=n ;;
29772977
*) echo "Using targethost $targethost." >&4
29782978
esac
29792979
locincpth=' '

0 commit comments

Comments
 (0)