Commit 690f233f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Do not try gtk or xpm for Win32

parent 64f5abae
...@@ -247,13 +247,13 @@ AS_IF([ test "${SYS}" != "mingw32" -a "${SYS}" != "darwin" ], [ ...@@ -247,13 +247,13 @@ AS_IF([ test "${SYS}" != "mingw32" -a "${SYS}" != "darwin" ], [
[ [
PKG_CHECK_MODULES(GTK, [gtk+-2.0], [gtk_found=yes]) PKG_CHECK_MODULES(GTK, [gtk+-2.0], [gtk_found=yes])
]) ])
]) AS_IF([ test "x$gtk_found" == "xno" ],
AS_IF([ test "x$gtk_found" == "xno" ], [
[ PKG_CHECK_MODULES(XPM, [xpm],, [
PKG_CHECK_MODULES(XPM, [xpm],, [ AC_MSG_ERROR([Please install the libXpm development files, or re-run configure with --with-gtk])
AC_MSG_ERROR([Please install the libXpm development files, or re-run configure with --with-gtk]) ])
]) ])
]) ])
AM_CONDITIONAL(USE_GTK, [ test "x$gtk_found" = "xyes" ]) AM_CONDITIONAL(USE_GTK, [ test "x$gtk_found" = "xyes" ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment