~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to auto/os/solaris

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# Copyright (C) Igor Sysoev
 
3
# Copyright (C) Nginx, Inc.
3
4
 
4
5
 
5
6
have=NGX_SOLARIS . auto/have_headers
7
8
CORE_INCS="$UNIX_INCS"
8
9
CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS"
9
10
CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS "
10
 
CORE_LIBS="$CORE_LIBS -lsocket -lnsl -lrt"
 
11
CORE_LIBS="$CORE_LIBS -lsocket -lnsl"
11
12
 
12
13
NGX_RPATH=YES
13
14
 
14
15
# Solaris's make does not support a blank line between target and rules
15
16
ngx_spacer=
16
17
 
17
 
CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lsocket -lnsl -lrt"
 
18
CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lsocket -lnsl"
18
19
 
19
20
 
20
21
if [ $ZLIB_ASM != NO ]; then
34
35
ngx_feature_libs="-lsendfile"
35
36
ngx_feature_test="int fd = 1; sendfilevec_t vec[1];
36
37
                  size_t sent; ssize_t n;
37
 
                  n = sendfilev(fd, vec, 1, &sent)"
 
38
                  n = sendfilev(fd, vec, 1, &sent);
 
39
                  if (n == -1) return 1"
38
40
. auto/feature
39
41
 
40
42