Lines Matching refs:if
7 Rem Find out if NLS is wanted or not,
8 Rem if dependency-tracking is wanted or not,
9 Rem if caching is wanted or not
10 Rem if static or shared libraries are wanted
17 if not "%NLS%" == "enabled" goto SmallEnv
19 if not "%CACHING%" == "enabled" goto SmallEnv
21 if not "%DEPENDENCY_TRACKING%" == "disabled" goto SmallEnv
23 if not "%LIBICONV_PREFIX%" == "disabled" goto SmallEnv
25 if not "%LIBINTL_PREFIX%" == "disabled" goto SmallEnv
27 if not "%STATIC_LIBRARY%" == "enabled" goto SmallEnv
29 if not "%XSRC%" == "." goto SmallEnv
35 if "%1" == "nls" goto NextArgument
36 if "%1" == "NLS" goto NextArgument
37 if "%1" == "no-nls" goto NoNLS
38 if "%1" == "no-NLS" goto NoNLS
39 if "%1" == "NO-NLS" goto NoNLS
42 if "%1" == "no-nls" set NLS=disabled
43 if "%1" == "no-NLS" set NLS=disabled
44 if "%1" == "NO-NLS" set NLS=disabled
45 if not "%NLS%" == "disabled" goto SmallEnv
48 if "%1" == "cache" goto NextArgument
49 if "%1" == "CACHE" goto NextArgument
50 if "%1" == "no-cache" goto NoCaching
51 if "%1" == "no-CACHE" goto NoCaching
52 if "%1" == "NO-CACHE" goto NoCaching
55 if "%1" == "no-cache" set CACHING=disabled
56 if "%1" == "no-CACHE" set CACHING=disabled
57 if "%1" == "NO-CACHE" set CACHING=disabled
58 if not "%CACHING%" == "disabled" goto SmallEnv
61 if "%1" == "no-dep" goto NextArgument
62 if "%1" == "no-DEP" goto NextArgument
63 if "%1" == "NO-DEP" goto NextArgument
64 if "%1" == "dep" goto DependecyTraking
65 if "%1" == "DEP" goto DependecyTraking
68 if "%1" == "dep" set DEPENDENCY_TRACKING=enabled
69 if "%1" == "DEP" set DEPENDENCY_TRACKING=enabled
70 if not "%DEPENDENCY_TRACKING%" == "enabled" goto SmallEnv
73 if "%1" == "no-libiconvprefix" goto NextArgument
74 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
75 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
76 if "%1" == "libiconvprefix" goto WithLibiconvPrefix
77 if "%1" == "LIBICONVPREFIX" goto WithLibiconvPrefix
80 if "%1" == "libiconvprefix" set LIBICONV_PREFIX=enabled
81 if "%1" == "LIBICONVPREFIX" set LIBICONV_PREFIX=enabled
82 if not "%LIBICONV_PREFIX%" == "enabled" goto SmallEnv
85 if "%1" == "no-libiconvprefix" goto NextArgument
86 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
87 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
88 if "%1" == "libintlprefix" goto _WithLibintlPrefix
89 if "%1" == "LIBINTLPREFIX" goto _WithLibintlPrefix
92 if "%1" == "libintlprefix" set LIBINTL_PREFIX=enabled
93 if "%1" == "LIBINTLPREFIX" set LIBINTL_PREFIX=enabled
94 if not "%LIBINTL_PREFIX%" == "enabled" goto SmallEnv
97 if "%1" == "static" goto NextArgument
98 if "%1" == "STATIC" goto NextArgument
99 if "%1" == "shared" goto SharedLibrary
100 if "%1" == "SHARED" goto SharedLibrary
103 if "%1" == "shared" set STATIC_LIBRARY=disabled
104 if "%1" == "SHARED" set STATIC_LIBRARY=disabled
105 if not "%STATIC_LIBRARY%" == "disabled" goto SmallEnv
109 if errorlevel 1 goto CollectArgument
111 if not "%XSRC%" == "%1" goto SmallEnv
115 if not "%_ARGS%" == "%ARGS% %1" if not "%_ARGS%" == "%ARGS%%1" goto SmallEnv
117 if not errorlevel 0 set ARGS=%_ARGS%
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 "%STATIC_LIBRARY%" == "enabled" echo --enable-static --disable-shared >> arguments
133 if "%STATIC_LIBRARY%" == "disabled" echo --enable-shared --disable-static >> arguments
134 if not "%ARGS%" == "" echo %ARGS% >> arguments
142 if "%XSRC%" == "." goto InPlace
147 if errorlevel 1 update %XSRC%/configure ./configure
153 if errorlevel 1 update configure configure.orig
155 if errorlevel 1 goto SedError
159 if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto SmallEnv
163 if not errorlevel 1 mv -f %XSRC%/config.h.in %XSRC%/config.h-in
165 if not errorlevel 1 mv -f %XSRC%/config.h.in %XSRC%/config.h-in
167 if errorlevel 1 mv -f %XSRC%/config.h %XSRC%/config.h-in
169 if not errorlevel 1 mv -f %XSRC%/po/Makefile.in.in %XSRC%/po/Makefile.in-in
177 if errorlevel 1 update %XSRC%/src/po-lex.c %XSRC%/src/po-lex.orig
179 if errorlevel 1 goto SedError
186 if errorlevel 1 update %XSRC%/djgpp/unsetenv.c %XSRC%/lib/unsetenv.c
192 if errorlevel 1 update %XSRC%/djgpp/djpwd.h %XSRC%/lib/djpwd.h
194 if errorlevel 1 update %XSRC%/djgpp/getpwnam.c %XSRC%/lib/getpwnam.c
199 if errorlevel 1 update %XSRC%/src/msginit.c %XSRC%/src/msginit.orig
201 if errorlevel 1 goto SedError
207 if errorlevel 1 update %XSRC%/po/POTFILES.in %XSRC%/po/POTFILES.orig
209 if errorlevel 1 goto SedError
213 Rem to file names, and "make install" will do nothing if Make
215 if exist INSTALL ren INSTALL INSTALL.txt
218 Rem if the package is configured across partitions.
219 if not "%SHELL%" == "" goto HomeName
221 if not "%SHELL%" == "/bin/sh" goto SmallEnv
226 if not "%HOME%" == "" goto HostName
228 if not "%HOME%" == "%XSRC%/djgpp" goto SmallEnv
233 if not "%HOSTNAME%" == "" goto hostdone
234 if "%windir%" == "" goto msdos
236 if not "%OS%" == "MS-Windows" goto SmallEnv
240 if not "%OS%" == "MS-DOS" goto SmallEnv
242 if not "%USERNAME%" == "" goto haveuname
243 if not "%USER%" == "" goto haveuser
246 if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
250 if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv
254 if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
257 if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
267 if not errorlevel 1 goto NoRen0
269 if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh
272 if "%NLS%" == "disabled" goto WithoutNLS
292 if errorlevel 1 goto CfgError
299 if not errorlevel 1 goto End
300 if "%XSRC%" == "." goto NoDirChange
329 if not errorlevel 1 goto NoRen1
331 if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh
333 if "%SHELL%" == "/bin/sh" set SHELL=
334 if "%HOME%" == "%XSRC%/djgpp" set HOME=