blob: ba3a3da1cb93051c3b2d38d62a93b52b81a137c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- configure2.orig 2010-09-06 11:37:21.000000000 +0000
+++ configure2 2010-09-07 12:58:47.440053134 +0000
@@ -26,6 +26,7 @@
echo " --help print this message"
echo " --prefix=PREFIX install in PREFIX [$PREFIX]"
echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
+ echo " --libdatadir=DIR install pkgconfig files in DIR [PREFIX/lib/pkgconfig]"
echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]"
echo " --incdir=DIR install includes in DIR [PREFIX/include/dvdnav]"
echo " --enable-static build static libraries [default=yes]"
@@ -72,6 +73,8 @@
;;
--libdir=*) libdir="$optval"
;;
+ --libdatadir=*) libdatadir="$optval"
+ ;;
--shlibdir=*) shlibdir="$optval"
;;
--incdir=*) incdir="$optval"
@@ -97,9 +100,10 @@
esac
done
-PREFIX=`cd $PREFIX && pwd`
+#PREFIX=`cd $PREFIX && pwd`
test -z "$libdir" && libdir=$PREFIX/lib
+test -z "$libdatadir" && libdir=$PREFIX/lib/pkgconfig
test -z "$shlibdir" && shlibdir=$PREFIX/lib
test -z "$incdir" && incdir=$PREFIX/include/dvdnav
@@ -127,6 +131,7 @@
# Automatically generated by configure, do not edit
PREFIX=$PREFIX
libdir=$libdir
+libdatadir=$libdatadir
shlibdir=$shlibdir
incdir=$incdir
THREADLIB=$threadlib
|