summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorvayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 01:51:31 +0000
committervayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 01:51:31 +0000
commitc5cf04f5430fa3a44ea1d92d5bcf75ca0623f5a7 (patch)
treef3bf4919423e38dab02ffedf57bae2379839b638 /configure
parent71045b33a33f4b3c4c05621a80f059840879bb97 (diff)
downloadmpv-c5cf04f5430fa3a44ea1d92d5bcf75ca0623f5a7.tar.bz2
mpv-c5cf04f5430fa3a44ea1d92d5bcf75ca0623f5a7.tar.xz
Initial win32 gui release.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18918 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index fd7f6e1d97..499f4a0c7f 100755
--- a/configure
+++ b/configure
@@ -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 -----------