]>
Commit | Line | Data |
---|---|---|
5aa334e1 | 1 | #!/bin/sh |
4e0938ef | 2 | # |
b8ae064d | 3 | ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
4e0938ef AJ |
4 | ## |
5 | ## Squid software is distributed under GPLv2+ license and includes | |
6 | ## contributions from numerous individuals and organizations. | |
7 | ## Please see the COPYING and CONTRIBUTORS files for details. | |
8 | ## | |
9 | ||
bea1ee2e | 10 | # |
4b985c04 AJ |
11 | MAKETEST="check installcheck uninstallcheck" |
12 | # | |
bea1ee2e AJ |
13 | # Configure options currently used by Ubuntu Packaged Release |
14 | # | |
15 | # This is to test any release build against what the package maintainers are seeing | |
16 | # | |
9603207d | 17 | # NP: DISTCHECK_CONFIGURE_FLAGS is a magic automake macro for the |
9f240854 AJ |
18 | # distcheck target recursive tests beteen scripted runs. |
19 | # we use it to perform the same duty between our nested scripts. | |
20 | DISTCHECK_CONFIGURE_FLAGS=" \ | |
bea1ee2e AJ |
21 | --build=i486-linux-gnu \ |
22 | --prefix=/usr \ | |
23 | --includedir="\${prefix}/include" \ | |
24 | --mandir="\${prefix}/share/man" \ | |
25 | --infodir="\${prefix}/share/info" \ | |
26 | --sysconfdir=/etc \ | |
27 | --localstatedir=/var \ | |
28 | --libexecdir="\${prefix}/lib/squid3" \ | |
bea1ee2e AJ |
29 | --srcdir=. \ |
30 | --datadir=/usr/share/squid3 \ | |
31 | --sysconfdir=/etc/squid3 \ | |
32 | --mandir=/usr/share/man \ | |
4b985c04 AJ |
33 | --with-default-user=proxy \ |
34 | \ | |
35 | --disable-maintainer-mode \ | |
36 | --disable-dependency-tracking \ | |
bea1ee2e AJ |
37 | --enable-inline \ |
38 | --enable-async-io=8 \ | |
39 | --enable-storeio="ufs,aufs,coss,diskd,null" \ | |
40 | --enable-removal-policies="lru,heap" \ | |
41 | --enable-poll \ | |
42 | --enable-delay-pools \ | |
43 | --enable-cache-digests \ | |
44 | --enable-snmp \ | |
45 | --enable-htcp \ | |
46 | --enable-select \ | |
47 | --enable-carp \ | |
48 | --with-large-files \ | |
49 | --enable-underscores \ | |
50 | --enable-icap-client \ | |
51 | --enable-auth="basic,digest,ntlm" \ | |
26ffc057 FC |
52 | --enable-auth-basic="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM" \ |
53 | --enable-auth-ntlm="SMB" \ | |
54 | --enable-auth-digest="ldap,password" \ | |
bea1ee2e AJ |
55 | --enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group" \ |
56 | --with-filedescriptors=65536 \ | |
bea1ee2e AJ |
57 | --enable-epoll \ |
58 | --enable-linux-netfilter \ | |
59 | " | |
5aa334e1 AJ |
60 | |
61 | # Ubuntu for some reason built using 'cc' instead of gcc | |
62 | export CC="/usr/bin/cc" | |
63 | export CXX="g++" | |
64 | export CFLAGS="-g -O2 -g -Wall -O2" | |
65 | export CXXFLAGS="-g -O2 -g -Wall -O2" | |
66 | export CPPFLAGS="" | |
67 | export LDFLAGS="-Wl,-Bsymbolic-functions" |