summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-08 12:17:03 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-08 12:17:03 +0000
commit8ffaf8a85e22704616b16e4c489fe8cb471fcf13 (patch)
tree19d25d4b6156ba0c3dacf9a2cadd95832ee77515 /configure
parent1350b62e4a4241dc99465179333e1b830309f225 (diff)
downloadmpv-8ffaf8a85e22704616b16e4c489fe8cb471fcf13.tar.bz2
mpv-8ffaf8a85e22704616b16e4c489fe8cb471fcf13.tar.xz
add gui support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@724 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index 21c0c99667..7519b990e3 100755
--- a/configure
+++ b/configure
@@ -229,6 +229,8 @@ _x11lib=
_select='#define HAVE_AUDIO_SELECT'
+_gui=no;
+
for i in `echo $pparam`; do
case "$i" in
@@ -589,6 +591,9 @@ do
--enable-select)
_select='#define HAVE_AUDIO_SELECT'
;;
+ --enable-gui)
+ _gui=yes
+ ;;
--disable-css)
_css=no
;;
@@ -656,6 +661,9 @@ do
--disable-fastmemcpy)
_fastmemcpy=no
;;
+ --disable-gui)
+ _gui=no
+ ;;
--with-win32libdir=*)
_win32libdir=`echo $ac_option | cut -d '=' -f 2`
_win32libdirnotify=no
@@ -983,6 +991,12 @@ else
_mpg123='#undef DEFAULT_MPG123'
fi
+if [ $_gui = yes ]; then
+ _gui='#define HAVE_GUI'
+else
+ _gui='#undef HAVE_GUI'
+fi
+
cat > $CCONF << EOF
/* -------- Generated by ./configure ----------- */
@@ -1037,6 +1051,9 @@ $_dshow
/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
$_fastmemcpy
+/* gui support, please do not edit this option */
+$_gui
+
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
/* #define WORDS_BIGENDIAN */