~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to build/prebuildNW.bat

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
 
 
3
if not "%NovellLibC%" == "" goto CheckNDK
 
4
set NovellLibC=\novell\ndk\libc
 
5
@echo Could not find the NovellLibC environment variable
 
6
@echo Setting NovellLibC = %NovellLibC%
 
7
@echo ---------------------  
 
8
 
 
9
:CheckNDK
 
10
if exist %NovellLibC%\include\netware.h goto NDKOK
 
11
@echo The path to the NDK "%NovellLibC%" is invalid.
 
12
@echo Please set then NovellLibC environment variable to the location of the NDK
 
13
@echo ---------------------  
 
14
goto Done
 
15
 
 
16
:NDKOK
 
17
@echo # As part of the pre-build process, the utilities GenChars.NLM
 
18
@echo #  (Gen Test Chars) and DFTables.NLM (dftables) must be built, 
 
19
@echo #  copied to a NetWare server and run using the following commands:
 
20
@echo #
 
21
@echo # "sys:\genchars >sys:\test_char.h"
 
22
@echo # "sys:\dftables >sys:\chartables.c"
 
23
@echo #
 
24
@echo #  The files "sys:\test_chars.h" and "sys:\chartables.c" must be 
 
25
@echo #  copied to "httpd\os\netware" on the build machine.
 
26
 
 
27
@echo Fixing up the APR headers
 
28
copy ..\srclib\apr\include\apr.hnw ..\srclib\apr\include\apr.h
 
29
 
 
30
@echo Fixing up the APR-Util headers
 
31
copy ..\srclib\apr-util\include\apu.hnw ..\srclib\apr-util\include\apu.h
 
32
copy ..\srclib\apr-util\include\apr_ldap.hnw ..\srclib\apr-util\include\apr_ldap.h
 
33
 
 
34
@echo Fixing up the pcre headers
 
35
copy ..\srclib\pcre\config.hw ..\srclib\pcre\config.h
 
36
copy ..\srclib\pcre\pcre.hw ..\srclib\pcre\pcre.h
 
37
 
 
38
@echo Generating the import lists...
 
39
set MWCIncludes=..\include;..\modules\http;..\modules\aaa;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellLibC%
 
40
mwccnlm -P nw_export.inc -d NETWARE -d CORE_PRIVATE -EP
 
41
awk -f make_nw_export.awk nw_export.i |sort >..\os\netware\httpd.imp
 
42
 
 
43
rem cd ..\srclib\apr\build
 
44
rem call prebuildnw.bat
 
45
 
 
46
:Done
 
47
pause