[Mplayer-cvslog] CVS: main configure,1.386,1.387
pl
pl at mplayer.dev.hu
Sun Feb 10 12:25:17 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv18418
Modified Files:
configure
Log Message:
added options for completeness: --enable-gcc-checking, --disable-profile
(found by Pontscho)
added workaround for CPU in config.h when using --target
(found by Gabucino)
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -r1.386 -r1.387
--- configure 7 Feb 2002 02:32:53 -0000 1.386
+++ configure 10 Feb 2002 11:25:14 -0000 1.387
@@ -189,7 +189,7 @@
--enable-profile compile profiling information into mplayer [disable]
Hazardous options a.k.a. "DO NOT BUGREPORT ANYTHING !"
- --disable-gcc-checking disable gcc version checking
+ --disable-gcc-checking disable gcc version checking [enable]
Use these options if autodetection fails:
--with-extraincdir=DIR extra headers (png, dvb, mad, sdl, css, ...) in DIR
@@ -226,6 +226,9 @@
--as=*)
_as=`echo $ac_option | cut -d '=' -f 2`
;;
+ --enable-gcc-checking)
+ _skip_cc_check=no
+ ;;
--disable-gcc-checking)
_skip_cc_check=yes
;;
@@ -593,6 +596,14 @@
_march="-march=$host_arch"
_mcpu="-mcpu=$host_arch"
proc="$_target"
+ # Note: this has to be extended
+ case "$proc" in
+ i386*) iproc=386 ;;
+ i486*) iproc=486 ;;
+ i586*) iproc=586 ;;
+ i686*) iproc=686 ;;
+ *) iproc=586 ;;
+ esac
fi
echores "$proc"
@@ -773,6 +784,7 @@
--target=*) ;;
--cc=*) ;;
--as=*) ;;
+ --enable-gcc-checking) ;;
--disable-gcc-checking) ;;
--enable-static*) ;;
--disable-static*) ;;
@@ -914,6 +926,9 @@
_mlib=yes
;;
+ --disable-profile)
+ _profile=
+ ;;
--enable-profile)
_profile='-p'
;;
More information about the MPlayer-cvslog
mailing list