~ubuntu-branches/ubuntu/quantal/nginx/quantal-updates

« back to all changes in this revision

Viewing changes to debian/modules/chunkin-nginx-module/util/build.sh

  • Committer: Package Import Robot
  • Author(s): Dmitry E. Oboukhov
  • Date: 2011-11-24 14:16:50 UTC
  • mfrom: (4.2.40 sid)
  • Revision ID: package-import@ubuntu.com-20111124141650-4n06eynzekxycf6c
Tags: 1.1.8-2
* debian/modules/chunkin-nginx-module:
  + Reinclude HttpChunkin Module with new upstream version (closes: #638814)
* debian/control:
  + Add myself to uploaders list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# this file is mostly meant to be used by the author himself.
 
4
 
 
5
ragel -G2 src/chunked_parser.rl
 
6
if [ $? != 0 ]; then
 
7
    echo 'Failed to generate the chunked parser.' 1>&2
 
8
    exit 1;
 
9
fi
 
10
 
 
11
root=`pwd`
 
12
version=$1
 
13
force=$2
 
14
 
 
15
ngx-build $force $version \
 
16
          --with-cc-opt="-funsigned-char" \
 
17
          --add-module=$root/../echo-nginx-module \
 
18
          --add-module=$root $opts \
 
19
          --with-debug
 
20
          #\
 
21
          #--with-http_ssl_module #\
 
22
          #--with-cc-opt="-pg" --with-ld-opt="-pg" \
 
23
  #--without-http_ssi_module  # we cannot disable ssi because echo_location_async depends on it (i dunno why?!)
 
24