File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 1
1
builddir =.
2
2
3
- ifneq (,$(wildcard /usr/share/apache2/build/special.mk) )
4
- top_srcdir =/usr/share/apache2
5
- top_builddir =/usr/share/apache2
6
- include /usr/share/apache2/build/special.mk
7
- endif
8
- ifneq (,$(wildcard /usr/lib64/httpd/build/special.mk) )
9
- top_srcdir =/etc/httpd
10
- top_builddir =/usr/lib64/httpd
11
- include /usr/lib64/httpd/build/special.mk
12
- endif
3
+ # the used tools
4
+ APXS =apxs
5
+ APACHECTL =apachectl
6
+
7
+ top_builddir =$(shell $(APXS ) -q exp_libexecdir)
8
+ include $(top_builddir ) /build/special.mk
9
+
13
10
ifneq (,$(wildcard /etc/debian_version) )
14
11
DISTRIBUTION := $(shell lsb_release -i | cut -f2)
15
12
ifeq ($(DISTRIBUTION),Debian)
16
13
DEFS =-DWITH_APACHE22
17
14
endif
18
15
endif
19
16
20
- # the used tools
21
- APXS =apxs
22
- APACHECTL =apachectl
23
-
24
17
# additional defines, includes and libraries
25
18
LIBS =-ljson-c -lz
26
19
You can’t perform that action at this time.
0 commit comments