Mercurial > mplayer.hg
comparison configure @ 7221:32fcb4422cbb
ability to override MANDIR, BINDIR
patch by Dominik Mierzejewski <dominik@rangers.eu.org>
modified to remain compatible with previous solution (ie mandir=prefix/man)
author | arpi |
---|---|
date | Sun, 01 Sep 2002 14:40:09 +0000 |
parents | 6f7ae14f29a8 |
children | 280aa5fdc0b4 |
comparison
equal
deleted
inserted
replaced
7220:e3ecccc7e505 | 7221:32fcb4422cbb |
---|---|
115 Configuration: | 115 Configuration: |
116 -h, --help display this help and exit | 116 -h, --help display this help and exit |
117 | 117 |
118 Installation directories: | 118 Installation directories: |
119 --prefix=DIR use this prefix for installing mplayer [/usr/local] | 119 --prefix=DIR use this prefix for installing mplayer [/usr/local] |
120 --bindir=DIR use this prefix for installing mplayer binary | |
121 [PREFIX/bin] | |
120 --datadir=DIR use this prefix for installing machine independent | 122 --datadir=DIR use this prefix for installing machine independent |
121 data files (fonts, skins) [PREFIX/share/mplayer] | 123 data files (fonts, skins) [PREFIX/share/mplayer] |
124 --mandir=DIR use this prefix for installing manpages | |
125 [PREFIX/man] | |
122 --confdir=DIR use this prefix for installing configuration files | 126 --confdir=DIR use this prefix for installing configuration files |
123 [same as datadir] | 127 [same as datadir] |
124 --libdir=DIR use this prefix for object code libraries | 128 --libdir=DIR use this prefix for object code libraries |
125 [PREFIX/lib] | 129 [PREFIX/lib] |
126 | 130 |
1248 ;; | 1252 ;; |
1249 | 1253 |
1250 --prefix=*) | 1254 --prefix=*) |
1251 _prefix=`echo $ac_option | cut -d '=' -f 2` | 1255 _prefix=`echo $ac_option | cut -d '=' -f 2` |
1252 ;; | 1256 ;; |
1257 --bindir=*) | |
1258 _bindir=`echo $ac_option | cut -d '=' -f 2` | |
1259 ;; | |
1253 --datadir=*) | 1260 --datadir=*) |
1254 _datadir=`echo $ac_option | cut -d '=' -f 2` | 1261 _datadir=`echo $ac_option | cut -d '=' -f 2` |
1262 ;; | |
1263 --mandir=*) | |
1264 _mandir=`echo $ac_option | cut -d '=' -f 2` | |
1255 ;; | 1265 ;; |
1256 --confdir=*) | 1266 --confdir=*) |
1257 _confdir=`echo $ac_option | cut -d '=' -f 2` | 1267 _confdir=`echo $ac_option | cut -d '=' -f 2` |
1258 ;; | 1268 ;; |
1259 --libdir=*) | 1269 --libdir=*) |
1267 | 1277 |
1268 esac | 1278 esac |
1269 done | 1279 done |
1270 | 1280 |
1271 # Atmos: moved this here, to be correct, if --prefix is specified | 1281 # Atmos: moved this here, to be correct, if --prefix is specified |
1282 test -z "$_bindir" && _bindir="$_prefix/bin" | |
1272 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" | 1283 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" |
1284 test -z "$_mandir" && _mandir="$_prefix/man" | |
1273 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" | 1285 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" |
1274 test -z "$_libdir" && _libdir="$_prefix/lib" | 1286 test -z "$_libdir" && _libdir="$_prefix/lib" |
1275 test -z "$_mlibdir" && _mlibdir="$MLIBHOME" | 1287 test -z "$_mlibdir" && _mlibdir="$MLIBHOME" |
1276 | 1288 |
1277 if x86 ; then | 1289 if x86 ; then |
4235 | 4247 |
4236 LANG = C | 4248 LANG = C |
4237 TARGET_OS = $system_name | 4249 TARGET_OS = $system_name |
4238 DESTDIR = | 4250 DESTDIR = |
4239 prefix = \$(DESTDIR)$_prefix | 4251 prefix = \$(DESTDIR)$_prefix |
4252 BINDIR = \$(DESTDIR)$_bindir | |
4240 DATADIR = \$(DESTDIR)$_datadir | 4253 DATADIR = \$(DESTDIR)$_datadir |
4254 MANDIR = \$(DESTDIR)$_mandir | |
4241 CONFDIR = \$(DESTDIR)$_confdir | 4255 CONFDIR = \$(DESTDIR)$_confdir |
4242 LIBDIR = \$(DESTDIR)$_libdir | 4256 LIBDIR = \$(DESTDIR)$_libdir |
4243 #AR = ar | 4257 #AR = ar |
4244 CC = $_cc | 4258 CC = $_cc |
4245 AWK = $_awk | 4259 AWK = $_awk |