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