comparison configure @ 18913:2dc84d07332c

Initial win32 gui release.
author vayne
date Thu, 06 Jul 2006 01:51:31 +0000
parents fe73d14fb7a9
children d2d9d011203f
comparison
equal deleted inserted replaced
18912:7ebb8863726d 18913:2dc84d07332c
6940 echo "$_gui" 6940 echo "$_gui"
6941 if test "$_gui" = yes ; then 6941 if test "$_gui" = yes ; then
6942 6942
6943 # Required libraries 6943 # Required libraries
6944 test "$_png" != yes && die "PNG support required for GUI compilation, please install libpng and libpng-dev packages." 6944 test "$_png" != yes && die "PNG support required for GUI compilation, please install libpng and libpng-dev packages."
6945 if not win32 ; then
6945 test "$_x11" != yes && die "X11 support required for GUI compilation" 6946 test "$_x11" != yes && die "X11 support required for GUI compilation"
6946 6947
6947 echocheck "XShape extension" 6948 echocheck "XShape extension"
6948 _xshape=no 6949 _xshape=no
6949 if test "$_x11" = yes ; then 6950 if test "$_x11" = yes ; then
7039 _glib=`$_glibconfig --version 2>&1` 7040 _glib=`$_glibconfig --version 2>&1`
7040 _inc_glib=`$_glibconfig --cflags 2>&1` 7041 _inc_glib=`$_glibconfig --cflags 2>&1`
7041 _ld_glib=`$_glibconfig --libs 2>&1` 7042 _ld_glib=`$_glibconfig --libs 2>&1`
7042 echores "$_glib (using $_glibconfig)" 7043 echores "$_glib (using $_glibconfig)"
7043 7044
7045 _def_gui='#define HAVE_NEW_GUI 1'
7046 _def_gtk2_gui='#undef HAVE_GTK2_GUI'
7047 _ld_gui='$(GTKLIB) $(GLIBLIB)'
7048 fi
7049
7050 else
7051 _ld_win32libs="-lcomdlg32 -lcomctl32 -lshell32 -lkernel32 $_ld_win32libs"
7044 _def_gui='#define HAVE_NEW_GUI 1' 7052 _def_gui='#define HAVE_NEW_GUI 1'
7045 _def_gtk2_gui='#undef HAVE_GTK2_GUI' 7053 _def_gtk2_gui='#undef HAVE_GTK2_GUI'
7046 _ld_gui='$(GTKLIB) $(GLIBLIB)' 7054 _ld_gui='$(GTKLIB) $(GLIBLIB)'
7047 fi 7055 fi
7048 7056