aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-13 14:44:04 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-13 14:44:04 +0000
commit52bc20da42742e5a6396a115e98f42a2d96ffc9e (patch)
tree15b6df74ffa10896266024fc69f21ba8001b8058
parent9389c5e7f874e8472eaa2f8ea367f8cfae22cded (diff)
added LIBDIR and USR_PREFIX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4138 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 26e5ccc6e2..f382018d49 100755
--- a/configure
+++ b/configure
@@ -923,7 +923,7 @@ done
# Atmos: moved this here, to be correct, if --prefix is specified
test -z "$_datadir" && _datadir=$_prefix"/share/mplayer"
test -z "$_confdir" && _confdir=$_datadir
-
+test -z "$_libdir" && _libdir=$_prefix"/lib/mplayer"
if x86 ; then
# Checking assembler (_as) compatibility...
@@ -2853,6 +2853,8 @@ cat > config.h << EOF
/* -------- This file has been automatically generated by configure ---------
Note: Any changes in it will be lost when you run configure again. */
+#define USR_PREFIX "$_prefix"
+
/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1
@@ -2868,6 +2870,7 @@ $_def_dvdread
/* Common data directory (for fonts, etc) */
#define DATADIR "$_datadir"
#define CONFDIR "$_confdir"
+#define LIBDIR "$_libdir"
/* Define this to compile stream-caching support, it can be enabled via
-cache <kilobytes> */