diff configure @ 723:c3e0bdb64027

add gui support
author pontscho
date Tue, 08 May 2001 12:17:03 +0000
parents f44cf2772aa1
children e14114170e01
line wrap: on
line diff
--- a/configure	Tue May 08 01:58:59 2001 +0000
+++ b/configure	Tue May 08 12:17:03 2001 +0000
@@ -229,6 +229,8 @@
 
 _select='#define HAVE_AUDIO_SELECT'
 
+_gui=no;
+
 for i in `echo $pparam`; do
 
  case "$i" in
@@ -589,6 +591,9 @@
   --enable-select)
         _select='#define HAVE_AUDIO_SELECT'
 	;;
+  --enable-gui)
+  	_gui=yes
+	;;
   --disable-css)
 	_css=no
 	;;
@@ -656,6 +661,9 @@
   --disable-fastmemcpy)
         _fastmemcpy=no
 	;;
+  --disable-gui)
+  	_gui=no
+	;;
   --with-win32libdir=*)
         _win32libdir=`echo $ac_option | cut -d '=' -f 2`
 	_win32libdirnotify=no
@@ -983,6 +991,12 @@
  _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 @@
 /* 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 */