projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2803 from rorysexton/dev_branch
[collectd.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
c4eada6
..
c0ccce3
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-75,7
+75,7
@@
build_cygwin()
: ${DATADIR:="${INSTALL_DIR}"}
echo "Installing collectd to ${INSTALL_DIR}."
: ${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"
MINGW_ROOT="$(x86_64-w64-mingw32-gcc -print-sysroot)/mingw"
export GNULIB_DIR="${TOP_SRCDIR}/gnulib/build/gllib"
@@
-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