diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9827d2f606..51e5267417 100644 --- a/configure.in +++ b/configure.in @@ -171,6 +171,16 @@ AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes]) AC_SUBST(NO_UNDEFINED) AC_SUBST(SOEXT) +if test "$os_win32" = "yes"; then + AC_CHECK_TOOL(WINDRES, windres, :) +else + WINDRES=":" +fi + +AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:") + +AC_SUBST(WINDRES) + # Check for base dependencies early. PKG_CHECK_MODULES(GNOME_PLATFORM, [glib-2.0 >= glib_minimum_version |