summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2016-01-15 16:06:30 -0600
committerNicolas Williams <nico@cryptonector.com>2016-01-16 16:51:01 -0600
commitec07936888b845c608a0d63aa833a91844efde0c (patch)
tree112e7425902521e10952ea20def83ba47bc57b1c /configure.ac
parent8e4724e16cf681126a4dc5f288e30b7926ed35b2 (diff)
Fix Windows build (fix #911)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7f6be347..03aa71d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,8 @@ fi
AC_CHECK_FUNCS(memmem)
AC_CHECK_FUNCS(mkstemp)
+AC_CHECK_HEADER("shlwapi.h",[have_win32=1;])
+AM_CONDITIONAL([WIN32], [test "x$have_win32" = x1])
dnl Running tests with Valgrind is slow. It is faster to iterate on
dnl code without Valgrind until tests pass, then enable Valgrind and