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

Nick Kurshev nickols_k at users.sourceforge.net
Mon May 7 09:52:53 CEST 2001


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

Modified Files:
	configure 
Log Message:
profile support & CFLAGS improvements

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** configure	2001/05/06 10:42:22	1.40
--- configure	2001/05/07 07:52:50	1.41
***************
*** 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]
--- 77,82 ----
  params:
          --cc                    use this C compiler to build MPlayer [gcc]
! 	--enable-debug[=1-3]	compile debugging information into mplayer [disable]
! 	--enable-profile	compile profiling information into mplayer [disable]
          --enable-mmx            build with mmx support [autodetect]
          --enable-mmx2           build with mmx2 support (PIII, Athlon) [autodetect]
***************
*** 508,511 ****
--- 509,515 ----
  do
   case "$ac_option" in
+   --enable-profile)
+   	_profile='-p'
+ 	;;
    --enable-debug)
    	_debug='-g'
***************
*** 807,814 ****
  
  # Checking for CFLAGS
! if [ "$CFLAGS" = "" ]; then
!  CFLAGS="-O4 $_debug -march=$proc -mcpu=$proc -pipe -ffast-math"
  fi
! 
  echo
  echo "Creating $MCONF"
--- 811,821 ----
  
  # Checking for CFLAGS
! if [ "$_profile" != "" ] || [ "$_debug" != "" ]; then
!  CFLAGS="-O2 -march=$proc -mcpu=$proc $_debug $_profile"
! else
! if test -z "$CFLAGS"; then
!  CFLAGS="-O4 -march=$proc -mcpu=$proc -pipe -ffast-math -fomit-frame-pointer"
  fi
! fi
  echo
  echo "Creating $MCONF"
***************
*** 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
--- 827,831 ----
  CC=$_cc
  X11DIR=$_x11libdir
! # OPTFLAGS=-O4 $_profile $_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