diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-26 04:56:03 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-26 04:56:03 +0000 |
commit | 4b7ae2b290e3c0bf2ca43f91bfd3a5e952164d5a (patch) | |
tree | b70b02e3f7ba39257e0b7d6e9730f3cb5367d337 /djgpp | |
parent | a6c71b5b9462db13c7bb2cd263cee5995315784c (diff) | |
download | perl-4b7ae2b290e3c0bf2ca43f91bfd3a5e952164d5a.tar.gz |
Experimenting in DOS arcana.
p4raw-id: //depot/perl@7451
Diffstat (limited to 'djgpp')
-rw-r--r-- | djgpp/configure.bat | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/djgpp/configure.bat b/djgpp/configure.bat index e7d41d7130..64b46ec34f 100644 --- a/djgpp/configure.bat +++ b/djgpp/configure.bat @@ -1,37 +1,37 @@ -@echo off -set CONFIG= -set PATH_SEPARATOR=; -set PATH_EXPAND=y -sh -c 'if test $PATH_SEPARATOR = ";"; then exit 1; fi' -if ERRORLEVEL 1 goto path_sep_ok -echo Error: -echo Make sure the environment variable PATH_SEPARATOR=; while building perl! -echo Please check your DJGPP.ENV! -goto end - -:path_sep_ok -sh -c 'if test $PATH_EXPAND = "Y" -o $PATH_EXPAND = "y"; then exit 1; fi' -if ERRORLEVEL 1 goto path_exp_ok -echo Error: -echo Make sure the environment variable PATH_EXPAND=Y while building perl! -echo Please check your DJGPP.ENV! -goto end - -:path_exp_ok -sh -c '$SHELL -c "exit 128"' -if ERRORLEVEL 128 goto shell_ok - -echo Error: -echo The SHELL environment variable must be set to the full path of your sh.exe! -goto end - -:shell_ok -sh -c 'if test ! -d /tmp; then mkdir /tmp; fi' -cp djgpp.c config.over .. -cd .. -echo Running sed... -sh djgpp/djgppsed.sh - -echo Running Configure... -sh Configure %1 %2 %3 %4 %5 %6 %7 %8 %9 -:end +@echo off
+set CONFIG=
+set PATH_SEPARATOR=;
+set PATH_EXPAND=y
+sh -c 'if test $PATH_SEPARATOR = ";"; then exit 1; fi'
+if ERRORLEVEL 1 goto path_sep_ok
+echo Error:
+echo Make sure the environment variable PATH_SEPARATOR=; while building perl!
+echo Please check your DJGPP.ENV!
+goto end
+
+:path_sep_ok
+sh -c 'if test $PATH_EXPAND = "Y" -o $PATH_EXPAND = "y"; then exit 1; fi'
+if ERRORLEVEL 1 goto path_exp_ok
+echo Error:
+echo Make sure the environment variable PATH_EXPAND=Y while building perl!
+echo Please check your DJGPP.ENV!
+goto end
+
+:path_exp_ok
+sh -c '$SHELL -c "exit 128"'
+if ERRORLEVEL 128 goto shell_ok
+
+echo Error:
+echo The SHELL environment variable must be set to the full path of your sh.exe!
+goto end
+
+:shell_ok
+sh -c 'if test ! -d /tmp; then mkdir /tmp; fi'
+cp djgpp.c config.over ..
+cd ..
+echo Running sed...
+sh djgpp/djgppsed.sh
+
+echo Running Configure...
+sh Configure %1 %2 %3 %4 %5 %6 %7 %8 %9
+:end
|