- libnghttp2-dev
- libjansson-dev
# -------------------------------------------------------------------------
+ - name: Linux Ubuntu, Regenerate ap_expr
+ os: linux
+ env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror"
+ BUILDCONFIG="--with-regen-expr"
+ # -------------------------------------------------------------------------
- if: branch != 2.4.x
name: Linux Ubuntu, APR trunk
env: APR_VERSION=trunk APR_CONFIG="--with-crypto"
apr_src_dir="srclib/apr ../apr"
apu_src_dir=""
+# By default, touch the checked-in sources to suppress regeneration of
+# the ap_expr parser.
+regen_expr=no
+
while test $# -gt 0
do
# Normalize
apu_src_dir=$optarg
;;
+ --with-regen-expr)
+ regen_expr=yes
+ ;;
+
-h|--help)
cat <<EOF
buildconf: generates the files needed to configure httpd.
"apr" replaced with "apr-util" or "aprutil". Ignored
in APR-Config Mode.
+ --with-regen-expr suppress the timestamp adjustment which prevents the
+ rebuild of the ap_expr expression parser
+
APR-Config Mode:
When passing an apr-config executable to --with-apr, buildconf will attempt to
> httpd.spec )
fi
-# ensure that the ap_expr expression parser sources are never regenerated
-# when running make
-echo fixing timestamps for ap_expr sources
-cd server
-touch util_expr_parse.y util_expr_scan.l
-sleep 1
-touch util_expr_parse.c util_expr_parse.h util_expr_scan.c
-cd ..
+if [ x$regen_expr = xno ]; then
+ # ensure that the ap_expr expression parser sources are never regenerated
+ # when running make
+ echo buildconf: Fixing timestamps for ap_expr sources to prevent regeneration
+ cd server
+ touch util_expr_parse.y util_expr_scan.l
+ sleep 1
+ touch util_expr_parse.c util_expr_parse.h util_expr_scan.c
+ cd ..
+else
+ echo buildconf: Fixing timestamps for ap_expr sources to ensure regeneration
+ touch server/util_expr_parse.[yl]
+fi
exit 0
#!/bin/bash -ex
### Installed apr/apr-util don't include the *.m4 files but the
### Debian packages helpfully install them, so use the system APR to buildconf
-./buildconf --with-apr=/usr/bin/apr-1-config
+./buildconf --with-apr=/usr/bin/apr-1-config ${BUILDCONFIG}
# For trunk, "make check" is sufficient to run the test suite.
# For 2.4.x, the test suite must be run manually
if test ! -v SKIP_TESTING; then