Skip to content

Commit e048179

Browse files
committed
Add new configuration variable for enable proxy or tls in spec file
1 parent 4b9e619 commit e048179

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

memcached.spec.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
%bcond_without option_checking
88
%bcond_without coverage
99
%bcond_without docs
10+
%bcond_with tls
11+
%bcond_with proxy
1012

1113
# Set with_systemd on distros that use it, so we can install the service
1214
# file, otherwise the sysvinit script will be installed
@@ -73,7 +75,12 @@ web applications by alleviating database load.
7375
%{?with_64bit:--enable-64bit} \
7476
%{!?with_option_checking:--disable-option-checking}
7577
%{!?with_coverage:--disable-coverage} \
76-
%{!?with_docs:--disable-docs}
78+
%{!?with_docs:--disable-docs} \
79+
%{?with_tls:--enable-tls} \
80+
%if %{with_tls}
81+
%{?with_proxy:--enable-proxy-tls} \
82+
%endif
83+
%{?with_proxy:--enable-proxy}
7784

7885
make %{?_smp_mflags}
7986

0 commit comments

Comments
 (0)