diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6942,6 +6942,7 @@ if test "$_gui" = yes ; then # 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 @@ if test "$_gtk1" = yes ; then _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 ----------- |