Only tested on a minimal win32 build. Please report configure/linking failure
[Paths where to find .pc not at the default location])
PKG_PROG_PKG_CONFIG()
[Paths where to find .pc not at the default location])
PKG_PROG_PKG_CONFIG()
+dnl On some OS we need static linking
+AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce" -o "${SYS}" = "darwin" ],[
+ PKG_CONFIG = "${PKG_CONFIG} --static"
+ ])
+
+
dnl
dnl Check for zlib.h and -lz along with system -lminizip if available
dnl
dnl
dnl Check for zlib.h and -lz along with system -lminizip if available
dnl