Integrate perlio:
[p5sagit/p5-mst-13.2.git] / NetWare / bat / BldNWExt-Exist.bat
CommitLineData
1789d6a4 1@echo off
2@rem AUTHOR: sgp
3@rem CREATED: Sat Apr 14 13:05:44 2001
4@rem LAST REVISED: Sat Apr 14 2001
5@rem Batch file to toggle b/n building and not building NetWare
6@rem specific extns - cgi2perl & perl2ucs.
7
8if "%1" == "" goto Usage
9
10if "%1" == "/now" goto now
11if "%1" == "on" goto yes
12if "%1" == "off" goto no
13if "%1" == "/?" goto usage
14if "%1" == "/h" goto usage
15goto dontknow
16
17:now
18if not "%NW_EXTNS%" == "yes" echo NW_EXTNS is removed, doesn't build NetWare specific extensions
19if "%NW_EXTNS%" == "yes" echo NW_EXTNS is set, builds NetWare specific extensions
20goto exit
21
22:yes
23Set NW_EXTNS=yes
24echo ....NW_EXTNS is set, builds NetWare specific extensions
25goto exit
26
27:no
28Set NW_EXTNS=
29echo ....NW_EXTNS is removed, doesn't build NetWare specific extensions
30goto exit
31
32:dontknow
33goto Usage
34
35:Usage
36 @echo on
37 @echo "Usage: BldNWExt [on|off]"
38 @echo "Usage: BldNWExt /now" - To display current setting
39:exit