Kaydet (Commit) 813eb5d9 authored tarafından Sebastian Spaeth's avatar Sebastian Spaeth

set_soenv: remove leftovers from tcsh and .bat file support

This silences the new "Unknown type!" error messages at the end of a
./configure run.

This should not make any functional difference, as the support for
those in ToFile was already missing.
üst ae7612d1
......@@ -2062,7 +2062,6 @@ ToFile( "ZIPDEP", $perlpre."zipdep.pl", "e" );
# Writing the aliases to file.
ToFile( "Aliases.", $empty, "c" );
ToFile( "Don't set aliases when bootstrapping", $empty, "c" );
ToFile( 'if ( ! ${?_ISBOOTSTRAP_} ) then', $empty, "y");
ToFile( "if test -z \"\$_ISBOOTSTRAP_\"; then", $empty, "z");
ToFile( "alias mkout", $mkout, "a" );
......@@ -2077,7 +2076,6 @@ if ( $platform =~ m/os2/ )
{ ToFile( "alias gunzip", "gzip -d", "a" );
}
ToFile( "endif", $empty, "y");
ToFile( "fi", $empty, "z");
# Check if the right dmake version is used. (W32 only)
......@@ -2085,8 +2083,6 @@ if ( $platform =~ m/cygwin/ ) {
ToFile( "Check if the right dmake version is used.", $empty, "c" );
# Invalidate build environment.
ToFile( "WORK_STAMP", "_invalid_", "e" );
# Don't test the dmake version if this file is sourced by bootstrap
ToFile( "bash -c 'if test -n \"\$_ISBOOTSTRAP_\" || (dmake.exe -V | grep -e \"-cygwin\\|OS := cygwin\" > /dev/null ); then true; else echo -e \"\\n\\nERROR: Not a cygwin build dmake or dmake missing, please check!\\n\\n\" ; sleep 5; false ; fi' || exit 1", $empty, "y");
# Restore valid environment if test was successful.
ToFile( "WORK_STAMP", $WORK_STAMP, "e" );
ToFile( "", $empty, "n");
......@@ -2267,7 +2263,6 @@ sub CreateFileHeader
# a - alias
# c - comment
# n - newline
# x - raw, write as is to OUT_BAT
# z - raw, write as is to OUT
# Return value: void
#---------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment