diff configure @ 18913:2dc84d07332c

Initial win32 gui release.
author vayne
date Thu, 06 Jul 2006 01:51:31 +0000
parents fe73d14fb7a9
children d2d9d011203f
line wrap: on
line diff
--- a/configure	Wed Jul 05 23:42:56 2006 +0000
+++ b/configure	Thu Jul 06 01:51:31 2006 +0000
@@ -6942,6 +6942,7 @@
 
   # Required libraries
   test "$_png" != yes && die "PNG support required for GUI compilation, please install libpng and libpng-dev packages."
+if not win32 ; then
   test "$_x11" != yes && die "X11 support required for GUI compilation"
 
   echocheck "XShape extension"
@@ -7046,6 +7047,13 @@
   _ld_gui='$(GTKLIB) $(GLIBLIB)'
 fi
 
+else
+  _ld_win32libs="-lcomdlg32 -lcomctl32 -lshell32 -lkernel32 $_ld_win32libs"
+  _def_gui='#define HAVE_NEW_GUI 1'
+  _def_gtk2_gui='#undef HAVE_GTK2_GUI'
+  _ld_gui='$(GTKLIB) $(GLIBLIB)'
+fi
+
   echo "Creating Gui/config.mak"
   cat > Gui/config.mak << EOF
 # -------- Generated by configure -----------