summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-13 13:38:32 +0100
committerwm4 <wm4@nowhere>2013-01-13 13:38:32 +0100
commit93d1bff4d3dc188307f85b435e402440e5408b5e (patch)
tree340c13a44bee823fbea30c4777019987b9effc39 /configure
parent418f68d6ca7a6906dcbaa58a2382ac0056494966 (diff)
downloadmpv-93d1bff4d3dc188307f85b435e402440e5408b5e.tar.bz2
mpv-93d1bff4d3dc188307f85b435e402440e5408b5e.tar.xz
configure: cleanup: remove unused --datadir switch
Unused. mplayer-svn used it as fallback directory to locate the OSD font, and for the GUI.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure b/configure
index 58b3d79215..fb69fa5270 100755
--- a/configure
+++ b/configure
@@ -512,9 +512,6 @@ for ac_option do
--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)
;;
@@ -747,7 +744,6 @@ done
# Atmos: moved this here, to be correct, if --prefix is specified
test -z "$_bindir" && _bindir="$_prefix/bin"
-test -z "$_datadir" && _datadir="$_prefix/share/mpv"
test -z "$_mandir" && _mandir="$_prefix/share/man"
test -z "$_confdir" && _confdir="$_prefix/etc/mpv"
test -z "$_localedir" && _localedir="$_prefix/share/locale"
@@ -3150,7 +3146,6 @@ CONFIGURATION = $configuration
prefix = \$(DESTDIR)$_prefix
BINDIR = \$(DESTDIR)$_bindir
-DATADIR = \$(DESTDIR)$_datadir
MANDIR = \$(DESTDIR)$_mandir
CONFDIR = \$(DESTDIR)$_confdir
LOCALEDIR = \$(DESTDIR)$_localedir
@@ -3292,7 +3287,6 @@ cat > $TMPH << EOF
#define CONFIGURATION "$configuration"
-#define MPLAYER_DATADIR "$_datadir"
#define MPLAYER_CONFDIR "$_confdir"
#define MPLAYER_LOCALEDIR "$_localedir"
@@ -3493,7 +3487,6 @@ cat << EOF
Config files successfully generated by ./configure $configuration !
Install prefix: $_prefix
- Data directory: $_datadir
Config direct.: $_confdir
Enabled optional drivers: