: ${DATADIR:="${INSTALL_DIR}"}
echo "Installing collectd to ${INSTALL_DIR}."
- TOP_SRCDIR=$(pwd)
+ TOP_SRCDIR="$(pwd)"
MINGW_ROOT="$(x86_64-w64-mingw32-gcc -print-sysroot)/mingw"
export GNULIB_DIR="${TOP_SRCDIR}/gnulib/build/gllib"
--dir=${TOP_SRCDIR}/gnulib/build \
canonicalize-lgpl \
fcntl-h \
+ fnmatch \
getsockopt \
gettimeofday \
nanosleep \
--datarootdir="${DATADIR}" \
--disable-all-plugins \
--host="mingw32" \
- --enable-logfile
+ --enable-logfile \
+ --enable-match_regex \
+ --enable-target_replace \
+ --enable-target_set
cp ${GNULIB_DIR}/../config.h src/gnulib_config.h
echo "#include <config.h.in>" >> src/gnulib_config.h