Skip to content

Commit 83c31de

Browse files
airweenzimmerle
authored andcommitted
Added some other fixes to build workflow
1 parent cff1995 commit 83c31de

File tree

3 files changed

+18
-87
lines changed

3 files changed

+18
-87
lines changed

Makefile.am

+9-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ CLEANFILES = \
1818
t/conf/httpd.conf \
1919
t/conf/apache_test_config.pm \
2020
t/conf/httpd.conf \
21+
t/conf/mime.types \
22+
t/conf/modules.conf \
2123
src/*.lo \
22-
src/*.slo
24+
src/*.slo \
25+
src/*.o \
26+
src/*.so \
27+
src/.libs/*.so
28+
2329

2430
CLEANDIRECTORIES = \
25-
t/logs
31+
t/logs \
32+
src/.libs
2633

2734

2835
all:

build/ax_prog_apache.m4

+9-1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ AC_DEFUN([AX_PROG_APACHE],
114114
if test -z "$APACHE" ; then
115115
AC_PATH_PROG(APACHE, httpd, , /usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/apache2/bin)
116116
fi
117+
if test -z "$APACHE" ; then
118+
AC_PATH_PROG(APACHE, apache2, , /usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/apache2/bin)
119+
fi
117120
AC_SUBST(APACHE)
118121
if test -z "$APACHE" ; then
119122
AC_MSG_ERROR("apache server executable not found");
@@ -149,7 +152,12 @@ AC_DEFUN([AX_PROG_APACHE],
149152
#
150153
# Find out if .so modules are in libexec/module.so or modules/module.so
151154
#
152-
HTTP_ROOT=`$APACHE -V | grep HTTPD_ROOT | sed -e 's/.*"\(.*\)"/\1/'`
155+
if test -f /etc/apache2/envvars
156+
then
157+
HTTP_ROOT=`. /etc/apache2/envvars && $APACHE -V | grep HTTPD_ROOT | sed -e 's/.*"\(.*\)"/\1/'`
158+
else
159+
HTTP_ROOT=`$APACHE -V | grep HTTPD_ROOT | sed -e 's/.*"\(.*\)"/\1/'`
160+
fi
153161
AC_MSG_CHECKING(apache modules)
154162
for dir in libexec modules
155163
do

tests/regression/misc/60-pmfromfile-external.t

-84
This file was deleted.

0 commit comments

Comments
 (0)