Enable additional plugins on Windows.
authorU-COLLECTD-WIN201\campbellsean <campbellsean@google.com>
Tue, 31 Jul 2018 18:56:26 +0000 (18:56 +0000)
committerU-COLLECTD-WIN201\campbellsean <campbellsean@google.com>
Tue, 31 Jul 2018 18:57:11 +0000 (18:57 +0000)
build.sh

index c7d557a..f6849c3 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -93,6 +93,7 @@ build_cygwin()
           --dir=${TOP_SRCDIR}/gnulib/build \
           canonicalize-lgpl \
           fcntl-h \
           --dir=${TOP_SRCDIR}/gnulib/build \
           canonicalize-lgpl \
           fcntl-h \
+          fnmatch \
           getsockopt \
           gettimeofday \
           nanosleep \
           getsockopt \
           gettimeofday \
           nanosleep \
@@ -141,7 +142,10 @@ build_cygwin()
       --datarootdir="${DATADIR}" \
       --disable-all-plugins \
       --host="mingw32" \
       --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
 
     cp ${GNULIB_DIR}/../config.h src/gnulib_config.h
     echo "#include <config.h.in>" >> src/gnulib_config.h