summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-10 11:25:14 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-10 11:25:14 +0000
commitb1f826975519237e0ddbd2457218ada319bc1c0f (patch)
tree2a7c344a2d54c5d720905bea96450189c7804895 /configure
parent5824bc7a07fcdae957afdb8baff5a7f5c6d50edb (diff)
downloadmpv-b1f826975519237e0ddbd2457218ada319bc1c0f.tar.bz2
mpv-b1f826975519237e0ddbd2457218ada319bc1c0f.tar.xz
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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4638 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 16 insertions, 1 deletions
diff --git a/configure b/configure
index b2061b5e74..aa9164808f 100755
--- a/configure
+++ b/configure
@@ -189,7 +189,7 @@ Advanced options:
--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 @@ for ac_option do
--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 @@ EOF
_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 @@ for ac_option do
--target=*) ;;
--cc=*) ;;
--as=*) ;;
+ --enable-gcc-checking) ;;
--disable-gcc-checking) ;;
--enable-static*) ;;
--disable-static*) ;;
@@ -914,6 +926,9 @@ for ac_option do
_mlib=yes
;;
+ --disable-profile)
+ _profile=
+ ;;
--enable-profile)
_profile='-p'
;;