rsyslog/devtools/run-configure.sh
Rainer Gerhards e27b59634c enable better testing via "make distcheck"
Also a couple of changes to testbench worth mentioning:
* use cp -f to ensure files can be overwirtten in VBUILD
* fix issue of missing include test file in EXTRA_DIST
* new supressions
* testbench: try to use local system dependency cache
  avoid going to Internet repos if not absolutely necessary. For
  development containers, they should be pre-populated with the
  important dependencies.
* do not enable libfaketime if ASAN is selected
  unfortunately, libfaketime does not work in that case

see also https://github.com/rsyslog/rsyslog/issues/174
2018-07-11 15:01:55 +02:00

14 lines
626 B
Bash
Executable File

#!/bin/bash
printf "running configure with\nCC:\t$CC\nCFLAGS:\t$CFLAGS\n"
export CONFIGURE_OPTS_OVERRIDE=
grep "sanitize.*=.*address" <<< "$CFLAGS" >/dev/null
if [ $? -eq 0 ]; then
printf "\n==========================================================\n"
printf "WARNING: address sanitizer requested. libfaketime is not\n"
printf "compatible with it. DISABLED LIBFAKETIME TESTS.\n"
printf "==========================================================\n\n"
export CONFIGURE_OPTS_OVERRIDE=--disable-libfaketime
fi
autoreconf -fvi
./configure $RSYSLOG_CONFIGURE_OPTIONS $RSYSLOG_CONFIGURE_OPTIONS_EXTRA $CONFIGURE_OPTS_OVERRIDE