[Mplayer-cvslog] CVS: main configure,1.39,1.40

Felix Buenemann atmosfear at users.sourceforge.net
Sun May 6 12:42:24 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv27108

Modified Files:
	configure 
Log Message:
Added --enable-debug[=1-3] to compile debugging info into mplayer (specifies -gn switch).


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** configure	2001/05/06 10:10:50	1.39
--- configure	2001/05/06 10:42:22	1.40
***************
*** 77,80 ****
--- 77,81 ----
  params:
          --cc                    use this C compiler to build MPlayer [gcc]
+ 	--enable-debug[=1-3]	compile debugging information into mplayer
          --enable-mmx            build with mmx support [autodetect]
          --enable-mmx2           build with mmx2 support (PIII, Athlon) [autodetect]
***************
*** 507,510 ****
--- 508,517 ----
  do
   case "$ac_option" in
+   --enable-debug)
+   	_debug='-g'
+ 	;;
+   --enable-debug=*)
+         _debug=`echo -n '-g'; echo $ac_option | cut -d '=' -f 2`
+ 	;;
    --enable-css)
  	_css=yes
***************
*** 801,805 ****
  # Checking for CFLAGS
  if [ "$CFLAGS" = "" ]; then
!  CFLAGS="-O4 -march=$proc -mcpu=$proc -pipe -ffast-math"
  fi
  
--- 808,812 ----
  # Checking for CFLAGS
  if [ "$CFLAGS" = "" ]; then
!  CFLAGS="-O4 $_debug -march=$proc -mcpu=$proc -pipe -ffast-math"
  fi
  
***************
*** 813,817 ****
  CC=$_cc
  X11DIR=$_x11libdir
! # OPTFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -fomit-frame-pointer -ffast-math
  OPTFLAGS=$CFLAGS
  # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib
--- 820,824 ----
  CC=$_cc
  X11DIR=$_x11libdir
! # OPTFLAGS=-O4 $_debug -march=$proc -mcpu=$proc -pipe -fomit-frame-pointer -ffast-math
  OPTFLAGS=$CFLAGS
  # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list