diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-09-29 06:49:23 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-09-29 06:49:23 -0700 |
commit | 68651275513c6d49a1a50ed2a1f7ef5d5f0e760e (patch) | |
tree | 67f8f34ba616df2b68d13725b1814bcd6cb70588 /configure.ac | |
parent | 75d31c84dba2e5280341b756aa9dc39a345dfffd (diff) | |
parent | 5ceb9c963700d4639fb3210b98aa028113e2a9c4 (diff) |
Merge pull request #3015 from theuni/win32-version-info
Win32 version info
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 859cd0ad8a..d9ed86f6fc 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,6 @@ AC_PROG_MKDIR_P AC_PROG_SED AC_PATH_TOOL(AR, ar) AC_PATH_TOOL(RANLIB, ranlib) -AC_PATH_TOOL(WINDRES, windres) AC_PATH_TOOL(STRIP, strip) AC_PATH_TOOL(GCOV, gcov) AC_PATH_PROG(LCOV, lcov) @@ -187,6 +186,11 @@ case $host in AC_MSG_WARN("makensis not found. Cannot create installer.") fi + AC_PATH_TOOL(WINDRES, windres, none) + if test x$WINDRES = xnone; then + AC_MSG_ERROR("windres not found") + fi + CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB" LEVELDB_TARGET_FLAGS="TARGET_OS=OS_WINDOWS_CROSSCOMPILE" CXXFLAGS="$CXXFLAGS -w" |