aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-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> */