diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-12-27 08:04:31 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-12-27 08:04:31 +0000 |
commit | bdcc354cda8859b86fea45e28419cf44ec42cd3b (patch) | |
tree | f08b34961f20e48c9ce1a56f931723a8bf114e7e /configure.in | |
parent | 9470faf3fa4ba93ba028afa1c4f288cd221fc58a (diff) |
don't enable windres on non-win32 platforms.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1946 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index e2e8f4bc..90394137 100644 --- a/configure.in +++ b/configure.in @@ -56,9 +56,6 @@ AM_PROG_LEX AC_PROG_YACC AM_PROG_LIBTOOL -AC_CHECK_PROG(WINDRES, windres, windres) -AM_CONDITIONAL(HAVE_WINDRES, test x"$WINDRES" != x) - SYLPHEED_ACLOCAL_INCLUDE(ac) native_win32=no @@ -71,9 +68,12 @@ case "$target" in native_win32=yes CFLAGS="$CFLAGS -mms-bitfields -mwindows" LIBS="$LIBS -lws2_32" + AC_CHECK_PROG(WINDRES, windres, windres) ;; esac +AM_CONDITIONAL(NATIVE_WIN32, test "$native_win32" = "yes") + dnl Checks for libraries. AM_PATH_GLIB_2_0(2.4.0,, AC_MSG_ERROR(Test for GLib failed. See the 'INSTALL' for help.)) |