diff options
author | Willem Jan Palenstijn | 2006-08-18 21:55:11 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2006-08-18 21:55:11 +0000 |
commit | d253442c42405f67bf61db60d9f5d490e12ff025 (patch) | |
tree | 41e433615aa9cbc462b8c63115c735e9aab2eb9d /configure | |
parent | 6613b3cae246ac3f511ec1e11713b6256d95aefb (diff) | |
download | scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.tar.gz scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.tar.bz2 scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.zip |
slightly changed patch #1521412: Hardcoded path for theme files
svn-id: r23723
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -309,6 +309,7 @@ Installation directories: --prefix=DIR use this prefix for installing ScummVM [/usr/local] --bindir=DIR directory to install the scummvm binary in [PREFIX/bin] --mandir=DIR directory to install the manpage in [PREFIX/man] + --datadir=DIR directory to install the data files in [PREFIX/share] Special configuration feature: --host=HOST cross-compile to target HOST (arm-linux, ...) @@ -500,6 +501,9 @@ for ac_option in $@; do --mandir=*) _mandir=`echo $ac_option | cut -d '=' -f 2` ;; + --datadir=*) + _datadir=`echo $ac_option | cut -d '=' -f 2` + ;; *) echo "error: unrecognised option: $ac_option Try \`$0 --help' for more information." >&2 @@ -1187,6 +1191,10 @@ fi # test -z "$_bindir" && _bindir="$_prefix/bin" test -z "$_mandir" && _mandir="$_prefix/man" +test -z "$_datadir" && _datadir="$_prefix/share" + +DEFINES="$DEFINES -DDATA_PATH=\\\"$_datadir/scummvm\\\"" + # # Check which engines ("frontends") are to be built |