~ubuntu-branches/debian/squeeze/nginx/squeeze

« back to all changes in this revision

Viewing changes to auto/os/linux

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-05-31 18:38:56 UTC
  • mfrom: (1.1.10 upstream) (4.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20090531183856-3xhvf6wd0bw5556i
Tags: 0.7.59-1
* New upstream release, first in Debian for the 0.7 branch. Among other
  issues, it also fixes the problem with wildcard dns names used with SSL.
  (Closes: #515904)
* debian/watch: updated.
* debian/postinst: fixed a bashism. (Closes: #507913)
* debian/conf/nginx.conf: removed default_type. (Closes: #509390)
* debian/control: updated Standards-Version to 3.8.1, no changes needed.
* debian/NEWS.Debian: documented the issues with
  server_names_hash_bucket_size. (Closes: #524785)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
ngx_spacer='
12
12
'
13
13
 
14
 
CC_AUX_FLAGS="$CC_AUX_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
 
14
cc_aux_flags="$CC_AUX_FLAGS"
 
15
CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
15
16
 
16
17
 
17
18
# Linux kernel version
60
61
 
61
62
# sendfile()
62
63
 
63
 
CC_AUX_FLAGS="$CC_AUX_FLAGS -D_GNU_SOURCE"
 
64
CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE"
64
65
ngx_feature="sendfile()"
65
66
ngx_feature_name="NGX_HAVE_SENDFILE"
66
67
ngx_feature_run=yes
67
68
ngx_feature_incs="#include <sys/sendfile.h>
68
 
#include <errno.h>"
 
69
                  #include <errno.h>"
69
70
ngx_feature_path=
70
71
ngx_feature_libs=
71
72
ngx_feature_test="int s = 0, fd = 1;
81
82
 
82
83
# sendfile64()
83
84
 
84
 
CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64"
 
85
CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
85
86
ngx_feature="sendfile64()"
86
87
ngx_feature_name="NGX_HAVE_SENDFILE64"
87
88
ngx_feature_run=yes
88
89
ngx_feature_incs="#include <sys/sendfile.h>
89
 
#include <errno.h>"
 
90
                  #include <errno.h>"
90
91
ngx_feature_path=
91
92
ngx_feature_libs=
92
93
ngx_feature_test="int s = 0, fd = 1;
121
122
ngx_feature_test="long mask = 0;
122
123
                  sched_setaffinity(0, 32, (cpu_set_t *) &mask)"
123
124
. auto/feature
 
125
 
 
126
 
 
127
# crypt_r()
 
128
 
 
129
ngx_feature="crypt_r()"
 
130
ngx_feature_name="NGX_HAVE_GNU_CRYPT_R"
 
131
ngx_feature_run=no
 
132
ngx_feature_incs="#include <crypt.h>"
 
133
ngx_feature_path=
 
134
ngx_feature_libs=-lcrypt
 
135
ngx_feature_test="struct crypt_data  cd;
 
136
                  crypt_r(NULL, NULL, &cd);"
 
137
. auto/feature
 
138
 
 
139
 
 
140
ngx_include="sys/vfs.h";     . auto/include
 
141
 
 
142
 
 
143
CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"