diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-04 22:46:28 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-04 22:46:28 +0000 |
commit | 937d30b8b8950090f009e933a6e2e1b12381c67e (patch) | |
tree | 26c4ec7cfa7b94b8c0920346751b3adeeca41953 /djgpp | |
parent | 8f991cd5861b181f2d40198d8e0c361f22f8c97b (diff) | |
download | perl-937d30b8b8950090f009e933a6e2e1b12381c67e.tar.gz |
DJGPP fixes from Laszlo Molnar.
p4raw-id: //depot/perl@13463
Diffstat (limited to 'djgpp')
-rw-r--r-- | djgpp/configure.bat | 74 | ||||
-rw-r--r-- | djgpp/djgpp.h | 2 |
2 files changed, 38 insertions, 38 deletions
diff --git a/djgpp/configure.bat b/djgpp/configure.bat index e7d41d7130..db08fc256d 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.[hc] 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
diff --git a/djgpp/djgpp.h b/djgpp/djgpp.h index 04aa4a2a72..a020ae91a1 100644 --- a/djgpp/djgpp.h +++ b/djgpp/djgpp.h @@ -28,7 +28,7 @@ int do_aspawn (pTHX_ SV *really,SV **mark,SV **sp); int -do_spawn2 (pTHX_ char *cmd,int execf) +do_spawn2 (pTHX_ char *cmd,int execf); int do_spawn (pTHX_ char *cmd); |