diff configure @ 1991:dee4b2ea5e5b

add gui support to config scripts, and fixed some warning.
author pontscho
date Thu, 27 Sep 2001 17:40:43 +0000
parents 6278f566cd91
children 77016d19ff19
line wrap: on
line diff
--- a/configure	Thu Sep 27 17:03:39 2001 +0000
+++ b/configure	Thu Sep 27 17:40:43 2001 +0000
@@ -1202,23 +1202,17 @@
         _select='#define HAVE_AUDIO_SELECT'
 	;;
   --enable-gui)
-        cat <<EOF
-
-You've tried to enable GUI support.
-
-GUI code was just imported to CVS, and we didn't finished integration yet!
-It's under heavy development, and it isn't trivial how to compile and run.
-Do NOT flood our mailboxes with GUI-related questions and bugreports now!
-We're busy with development, but we know the problems you want to report.
-
-Please wait until we announce it on mplayer-users list and News on homepage.
-
-EOF
-	exit
+  	_gui=yes
+	;;
+  --enable-new-gui)
+  	_gui=yes
 	;;
   --enable-streaming)
   	_streaming=yes
 	;;
+  --enable-divx4)
+  	_divx4linux=yes
+	;;
   --disable-css)
 	_css=no
 	;;
@@ -1325,15 +1319,9 @@
   --disable-divx4)
   	_divx4linux=no
 	;;
-  --enable-divx4)
-  	_divx4linux=yes
-	;;
   --disable-vorbis)
   	_vorbis=no
 	;;
-  --enable-new-gui)
-  	_gui=yes
-	;;
   --with-win32libdir=*)
         _win32libdir=`echo $ac_option | cut -d '=' -f 2`
 	_win32libdirnotify=no
@@ -2192,6 +2180,7 @@
 GTKLIB=$_gtklib
 GLIBLIB=$_gliblib
 GUI_LIBS = $_gui_lib
+GUI=$_gui
 DEBUG=-DDEBUG
 
 EOF