diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-17 15:39:56 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-17 15:39:56 +0000 |
commit | e10940c3bd0b15078d498577d8860a2ac86cc768 (patch) | |
tree | bc8841bbba40d359e21c466cbd34b10a439c7b05 /djgpp | |
parent | 5c567d7dcdec6edbcc618895107f1912b0365bec (diff) | |
download | perl-e10940c3bd0b15078d498577d8860a2ac86cc768.tar.gz |
Introduce the new *l APIs, undefined, to non-Configure lands.
p4raw-id: //depot/perl@19251
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 4d73cd1dfe..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.[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 +@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
|