Lines Matching refs:if
6 Rem Find out if NLS is wanted or not,
7 Rem if dependency-tracking is wanted or not,
8 Rem if caching is wanted or not
15 if not "%NLS%" == "disabled" goto SmallEnv
17 if not "%CACHING%" == "enabled" goto SmallEnv
19 if not "%DEPENDENCY_TRACKING%" == "disabled" goto SmallEnv
21 if not "%LIBICONV_PREFIX%" == "disabled" goto SmallEnv
23 if not "%LIBINTL_PREFIX%" == "disabled" goto SmallEnv
25 if not "%HTML%" == "enabled" goto SmallEnv
27 if not "%XSRC%" == "." goto SmallEnv
33 if "%1" == "nls" goto NextArgument
34 if "%1" == "NLS" goto NextArgument
35 if "%1" == "no-nls" goto NoNLS
36 if "%1" == "no-NLS" goto NoNLS
37 if "%1" == "NO-NLS" goto NoNLS
40 if "%1" == "no-nls" set NLS=disabled
41 if "%1" == "no-NLS" set NLS=disabled
42 if "%1" == "NO-NLS" set NLS=disabled
43 if not "%NLS%" == "disabled" goto SmallEnv
46 if "%1" == "cache" goto NextArgument
47 if "%1" == "CACHE" goto NextArgument
48 if "%1" == "no-cache" goto NoCaching
49 if "%1" == "no-CACHE" goto NoCaching
50 if "%1" == "NO-CACHE" goto NoCaching
53 if "%1" == "no-cache" set CACHING=disabled
54 if "%1" == "no-CACHE" set CACHING=disabled
55 if "%1" == "NO-CACHE" set CACHING=disabled
56 if not "%CACHING%" == "disabled" goto SmallEnv
59 if "%1" == "no-dep" goto NextArgument
60 if "%1" == "no-DEP" goto NextArgument
61 if "%1" == "NO-DEP" goto NextArgument
62 if "%1" == "dep" goto DependecyTraking
63 if "%1" == "DEP" goto DependecyTraking
66 if "%1" == "dep" set DEPENDENCY_TRACKING=enabled
67 if "%1" == "DEP" set DEPENDENCY_TRACKING=enabled
68 if not "%DEPENDENCY_TRACKING%" == "enabled" goto SmallEnv
71 if "%1" == "no-libiconvprefix" goto NextArgument
72 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
73 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
74 if "%1" == "libiconvprefix" goto WithLibiconvPrefix
75 if "%1" == "LIBICONVPREFIX" goto WithLibiconvPrefix
78 if "%1" == "libiconvprefix" set LIBICONV_PREFIX=enabled
79 if "%1" == "LIBICONVPREFIX" set LIBICONV_PREFIX=enabled
80 if not "%LIBICONV_PREFIX%" == "enabled" goto SmallEnv
83 if "%1" == "no-libiconvprefix" goto NextArgument
84 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
85 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
86 if "%1" == "libintlprefix" goto _WithLibintlPrefix
87 if "%1" == "LIBINTLPREFIX" goto _WithLibintlPrefix
90 if "%1" == "libintlprefix" set LIBINTL_PREFIX=enabled
91 if "%1" == "LIBINTLPREFIX" set LIBINTL_PREFIX=enabled
92 if not "%LIBINTL_PREFIX%" == "enabled" goto SmallEnv
94 if "%1" == "withhtml" goto NextArgument
95 if "%1" == "withHTML" goto NextArgument
96 if "%1" == "WITHHTML" goto NextArgument
97 if "%1" == "withouthtml" goto _WithoutHTML
98 if "%1" == "withoutHTML" goto _WithoutHTML
99 if "%1" == "WITHOUTHTML" goto _WithoutHTML
102 if "%1" == "withouthtml" set HTML=disabled
103 if "%1" == "withoutHTML" set HTML=disabled
104 if "%1" == "WITHOUTHTML" set HTML=disabled
105 if not "%HTML%" == "disabled" goto SmallEnv
109 if errorlevel 1 goto CollectArgument
111 if not "%XSRC%" == "%1" goto SmallEnv
115 if not "%_ARGS%" == "#%ARGS%#%1#" goto SmallEnv
117 if errorlevel 1 set ARGS=%ARGS% %1
121 if not "%1" == "" goto ArgLoop
125 if "%CACHING%" == "enabled" echo --cache-file=%XSRC%/djgpp/config.cache >> arguments
126 if "%DEPENDENCY_TRACKING%" == "enabled" echo --enable-dependency-tracking >> arguments
127 if "%DEPENDENCY_TRACKING%" == "disabled" echo --disable-dependency-tracking >> arguments
128 if "%LIBICONV_PREFIX%" == "enabled" echo --with-libiconv-prefix >> arguments
129 if "%LIBICONV_PREFIX%" == "disabled" echo --without-libiconv-prefix >> arguments
130 if "%LIBINTL_PREFIX%" == "enabled" echo --with-libintl-prefix >> arguments
131 if "%LIBINTL_PREFIX%" == "disabled" echo --without-libintl-prefix >> arguments
132 if "%HTML%" == "enabled" echo --enable-html >> arguments
133 if "%HTML%" == "disabled" echo --disable-html >> arguments
134 if not "%ARGS%" == "" echo %ARGS% >> arguments
143 if "%XSRC%" == "." goto InPlace
148 if errorlevel 1 update %XSRC%/configure ./configure
154 if errorlevel 1 update ./configure ./configure.orig
156 if errorlevel 1 goto SedError
160 if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto SmallEnv
164 if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/config.h.in %XSRC%/config.h-in
166 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/config.h %XSRC%/config.h-in
168 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/configh.in %XSRC%/config.h-in
170 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/config_h.in %XSRC%/config.h-in
172 if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/libcharset.h-in %XSRC%/include/libcharset.h-in
174 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/libcharset.h %XSRC%/include/libcharset.h-in
176 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/libcharseth.in %XSRC%/include/libcharset.h-in
178 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/libcharset_h.in %XSRC%/include/libcharset.h-in
180 if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/localcharset.h-in %XSRC%/include/localcharset.h-in
182 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/localcharset.h %XSRC%/include/localcharset.h-in
184 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/localcharseth.in %XSRC%/include/localcharset.h-in
186 if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/localcharset_h.in %XSRC%/include/localcharset.h-in
189 Rem to file names, and "make install" will do nothing if Make
191 if exist INSTALL mv -f INSTALL INSTALL.txt
194 Rem if the package is configured across partitions.
195 if not "%SHELL%" == "" goto HomeName
197 if not "%SHELL%" == "/bin/sh" goto SmallEnv
202 if not "%HOME%" == "" goto HostName
204 if not "%HOME%" == "%XSRC%/djgpp" goto SmallEnv
209 if not "%HOSTNAME%" == "" goto hostdone
210 if "%windir%" == "" goto msdos
212 if not "%OS%" == "MS-Windows" goto SmallEnv
216 if not "%OS%" == "MS-DOS" goto SmallEnv
218 if not "%USERNAME%" == "" goto haveuname
219 if not "%USER%" == "" goto haveuser
222 if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
226 if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv
230 if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
233 if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
243 if not errorlevel 1 goto NoRen0
245 if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh
248 if "%NLS%" == "disabled" goto WithoutNLS
252 if errorlevel 1 goto WithoutNLS
256 if not errorlevel 0 goto MissingNLSTools
258 if not errorlevel 0 goto MissingNLSTools
260 if not errorlevel 0 goto MissingNLSTools
262 if not errorlevel 0 goto MissingNLSTools
264 if not errorlevel 0 goto MissingNLSTools
266 if not errorlevel 0 goto MissingNLSTools
268 if not errorlevel 0 goto MissingNLSTools
270 if not errorlevel 0 goto MissingNLSTools
293 if errorlevel 1 goto CfgError
312 if not errorlevel 1 goto NoRen1
314 if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh