diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-30 23:59:39 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-30 23:59:39 +0000 |
commit | ee0ea7341dc245d9bf19fb9bde7bf3d38a3b5309 (patch) | |
tree | 8e75bc72817804ee68d424f2c2aa5c7b69e54355 | |
parent | 957d40868ce8c78f26e0d30fd8a7cb6be0aa1645 (diff) |
cosmetics: Move around a few options for better logical grouping.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22086 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 167 |
1 files changed, 84 insertions, 83 deletions
@@ -648,25 +648,35 @@ for ac_option do --help|-help|-h) show_help ;; - --target=*) - _target=`echo $ac_option | cut -d '=' -f 2` + --prefix=*) + _prefix=`echo $ac_option | cut -d '=' -f 2` ;; - --cc=*) - _cc=`echo $ac_option | cut -d '=' -f 2` + --bindir=*) + _bindir=`echo $ac_option | cut -d '=' -f 2` ;; - --host-cc=*) - _host_cc=`echo $ac_option | cut -d '=' -f 2` + --datadir=*) + _datadir=`echo $ac_option | cut -d '=' -f 2` ;; - --as=*) - _as=`echo $ac_option | cut -d '=' -f 2` + --mandir=*) + _mandir=`echo $ac_option | cut -d '=' -f 2` ;; - --enable-gcc-check) _gcc_check=yes ;; - --disable-gcc-check) _gcc_check=no ;; - --enable-static) - _ld_static='-static' + --confdir=*) + _confdir=`echo $ac_option | cut -d '=' -f 2` ;; - --disable-static) - _ld_static='' + --libdir=*) + _libdir=`echo $ac_option | cut -d '=' -f 2` + ;; + --codecsdir=*) + _codecsdir=`echo $ac_option | cut -d '=' -f 2` + ;; + --win32codecsdir=*) + _win32codecsdir=`echo $ac_option | cut -d '=' -f 2` + ;; + --xanimcodecsdir=*) + _xanimcodecsdir=`echo $ac_option | cut -d '=' -f 2` + ;; + --realcodecsdir=*) + _realcodecsdir=`echo $ac_option | cut -d '=' -f 2` ;; --with-extraincdir=*) _inc_extra=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` @@ -674,6 +684,33 @@ for ac_option do --with-extralibdir=*) _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` ;; + + --with-install=*) + _install=`echo $ac_option | cut -d '=' -f 2 ` + ;; + --with-xvmclib=*) + _xvmclib=`echo $ac_option | cut -d '=' -f 2` + ;; + + --with-sdl-config=*) + _sdlconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --with-freetype-config=*) + _freetypeconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --with-fribidi-config=*) + _fribidiconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --with-gtk-config=*) + _gtkconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --with-glib-config=*) + _glibconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --with-dvdnav-config=*) + _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` + ;; + --extra-libs=*) _extra_libs=`echo $ac_option | cut -d '=' -f 2` ;; @@ -683,12 +720,31 @@ for ac_option do --extra-libs-mencoder=*) _libs_mencoder=`echo $ac_option | cut -d '=' -f 2` ;; - --enable-runtime-cpudetection) _runtime_cpudetection=yes ;; - --disable-runtime-cpudetection) _runtime_cpudetection=no ;; - --enable-cross-compile) _cross_compile=yes ;; - --disable-cross-compile) _cross_compile=no ;; - --with-install=*) - _install=`echo $ac_option | cut -d '=' -f 2 ` + + --target=*) + _target=`echo $ac_option | cut -d '=' -f 2` + ;; + --cc=*) + _cc=`echo $ac_option | cut -d '=' -f 2` + ;; + --host-cc=*) + _host_cc=`echo $ac_option | cut -d '=' -f 2` + ;; + --as=*) + _as=`echo $ac_option | cut -d '=' -f 2` + ;; + --charset=*) + _charset=`echo $ac_option | cut -d '=' -f 2` + ;; + --language=*) + _language=`echo $ac_option | cut -d '=' -f 2` + ;; + + --enable-static) + _ld_static='-static' + ;; + --disable-static) + _ld_static='' ;; --enable-profile) _profile='-p' @@ -705,6 +761,12 @@ for ac_option do --disable-debug) _debug= ;; + --enable-gcc-check) _gcc_check=yes ;; + --disable-gcc-check) _gcc_check=no ;; + --enable-runtime-cpudetection) _runtime_cpudetection=yes ;; + --disable-runtime-cpudetection) _runtime_cpudetection=no ;; + --enable-cross-compile) _cross_compile=yes ;; + --disable-cross-compile) _cross_compile=no ;; --enable-mencoder) _mencoder=yes ;; --disable-mencoder) _mencoder=no ;; --enable-mplayer) _mplayer=yes ;; @@ -1034,30 +1096,12 @@ for ac_option do --enable-sortsub) _sortsub=yes ;; --disable-sortsub) _sortsub=no ;; - --charset=*) - _charset=`echo $ac_option | cut -d '=' -f 2` - ;; - --language=*) - _language=`echo $ac_option | cut -d '=' -f 2` - ;; - - --codecsdir=*) - _codecsdir=`echo $ac_option | cut -d '=' -f 2` - ;; - --win32codecsdir=*) - _win32codecsdir=`echo $ac_option | cut -d '=' -f 2` - ;; - --xanimcodecsdir=*) - _xanimcodecsdir=`echo $ac_option | cut -d '=' -f 2` - ;; - --realcodecsdir=*) - _realcodecsdir=`echo $ac_option | cut -d '=' -f 2` - ;; - --enable-crash-debug) _crash_debug=yes ;; --disable-crash-debug) _crash_debug=no ;; --enable-sighandler) _sighandler=yes ;; --disable-sighandler) _sighandler=no ;; + --enable-win32) _win32=yes ;; + --disable-win32) _win32=no ;; --enable-sse) _sse=yes ;; --disable-sse) _sse=no ;; @@ -1081,49 +1125,6 @@ for ac_option do --disable-mmx) # 3Dnow! and MMX2 require MMX _3dnow=no _3dnowext=no _mmx=no _mmxext=no ;; - --enable-win32) _win32=yes ;; - --disable-win32) _win32=no ;; - - --with-xvmclib=*) - _xvmclib=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-sdl-config=*) - _sdlconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-freetype-config=*) - _freetypeconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-fribidi-config=*) - _fribidiconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-gtk-config=*) - _gtkconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-glib-config=*) - _glibconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --with-dvdnav-config=*) - _dvdnavconfig=`echo $ac_option | cut -d '=' -f 2` - ;; - --prefix=*) - _prefix=`echo $ac_option | cut -d '=' -f 2` - ;; - --bindir=*) - _bindir=`echo $ac_option | cut -d '=' -f 2` - ;; - --datadir=*) - _datadir=`echo $ac_option | cut -d '=' -f 2` - ;; - --mandir=*) - _mandir=`echo $ac_option | cut -d '=' -f 2` - ;; - --confdir=*) - _confdir=`echo $ac_option | cut -d '=' -f 2` - ;; - --libdir=*) - _libdir=`echo $ac_option | cut -d '=' -f 2` - ;; - *) echo "Unknown parameter: $ac_option" exit 1 |