X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=djgpp%2Fconfigure.bat;h=db08fc256d7a7cbda206d217fddf3ad55618bbcd;hb=7a4b5c08c57dd1d5e718bebd7ef8aa508e0125e0;hp=e7d41d71301ae850e17fb68bfe4c687ba6f0d57a;hpb=5c39ff673f15a215566d77d67576d119488503bc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/djgpp/configure.bat b/djgpp/configure.bat index e7d41d7..db08fc2 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