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

« back to all changes in this revision

Viewing changes to srclib/apr/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 utility GenURI.NLM
 
18
@echo #  (Gen URI Delims) must be built, copied to a NetWare server 
 
19
@echo #  and run using the following command:
 
20
@echo #
 
21
@echo # "sys:\genuri >sys:\uri_delims.h"
 
22
@echo #
 
23
@echo #  The file "sys:\uri_delims.h" must then be copied to
 
24
@echo #  "apr-util\uri\uri_delims.h" on the build machine.
 
25
 
 
26
@echo Fixing up the APR headers
 
27
copy ..\include\apr.hnw ..\include\apr.h
 
28
 
 
29
@echo Fixing up the APR-Util headers
 
30
copy ..\..\apr-util\include\apu.hnw ..\..\apr-util\include\apu.h
 
31
copy ..\..\apr-util\include\apu_want.hnw ..\..\apr-util\include\apu_want.h
 
32
copy ..\..\apr-util\include\apr_ldap.hnw ..\..\apr-util\include\apr_ldap.h
 
33
copy ..\..\apr-util\include\private\apu_config.hw ..\..\apr-util\include\private\apu_config.h
 
34
copy ..\..\apr-util\xml\expat\lib\expat.h.in ..\..\apr-util\xml\expat\lib\expat.h
 
35
copy ..\..\apr-util\xml\expat\lib\config.hnw ..\..\apr-util\xml\expat\lib\config.h
 
36
copy ..\..\apr-util\include\private\apu_select_dbm.hw ..\..\apr-util\include\private\apu_select_dbm.h
 
37
 
 
38
@echo Fixing up the pcre headers
 
39
copy ..\..\pcre\config.hw ..\..\pcre\config.h
 
40
copy ..\..\pcre\pcre.hw ..\..\pcre\pcre.h
 
41
 
 
42
@echo Generating the import list...
 
43
set MWCIncludes=..\include;..\include\arch\netware;..\include\arch\unix;..\..\apr-util\include;+%NovellLibC%
 
44
mwccnlm -P nw_export.inc -d NETWARE -EP
 
45
awk -f make_nw_export.awk nw_export.i |sort >..\aprlib.imp
 
46
 
 
47
:Done
 
48
pause