rendered paste body
if test "$_gtk1" = yes ; then
# Check for old GTK (1.2.x)
echocheck "GTK version"
if test -z "$_gtkconfig" ; then
if ( gtk-config --version ) >/dev/null 2>&1 ; then
_gtkconfig="gtk-config"
elif ( gtk12-config --version ) >/dev/null 2>&1 ; then
_gtkconfig="gtk12-config"
else
die "The GUI requires GTK devel packages (which were not found)."
fi
fi
_gtk=`$_gtkconfig --version 2>&1`
_inc_extra="$_inc_extra `$_gtkconfig --cflags 2>&1`"
_libs_mplayer="$_libs_mplayer `$_gtkconfig --libs 2>&1`"
echores "$_gtk (using $_gtkconfig)"
# Check for GLIB
echocheck "glib version"
if test -z "$_glibconfig" ; then
if ( glib-config --version ) >/dev/null 2>&1 ; then
_glibconfig="glib-config"
elif ( glib12-config --version ) >/dev/null 2>&1 ; then
_glibconfig="glib12-config"
else
die "The GUI requires GLIB devel packages (which were not found)"
fi
fi
_glib=`$_glibconfig --version 2>&1`
_libs_mplayer="$_libs_mplayer `$_glibconfig --libs 2>&1`"
echores "$_glib (using $_glibconfig)"
_def_gui='#define HAVE_NEW_GUI 1'
_def_gtk2_gui='#undef HAVE_GTK2_GUI'
fi
else #if not win32
_libs_mplayer="$_libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32"
_def_gui='#define HAVE_NEW_GUI 1'
_def_gtk2_gui='#undef HAVE_GTK2_GUI'
fi #if not win32
else #if test "$_gui"
_def_gui='#undef HAVE_NEW_GUI'
_def_gtk2_gui='#undef HAVE_GTK2_GUI'
fi #if test "$_gui"
win32
echo $system_name | tr A-Z a-z
echo $1 | tr A-Z a-z
echo $system_name | tr A-Z a-z
echo $1 | tr A-Z a-z
Checking for XShape extension ... yes
Checking for GTK+ version ... GTK-2 devel packages were not found, trying GTK 1.2
Checking for GTK version ... $_gtkconfig --version 2>&1
$_gtkconfig --cflags 2>&1
$_gtkconfig --libs 2>&1
1.2.10 (using gtk-config)
Checking for glib version ...