[mythtv] New configure --prefix is not updating settings.pro
Allan Stirling
Dibblahmythml0015 at pendor.org
Fri Mar 25 12:39:47 UTC 2005
Adam Egger wrote:
> On Thu, 24 Mar 2005 23:25:15 -0800, Chris Petersen
> <lists at forevermore.net> wrote:
>
>>I can verify this, and I second the request to get it fixed.
>
>
> /me too :)
This is the dev list, BTW ;). This is just simple shell stuff. It's not
brain surgery.
2 patches - One including both fixes, if that's easier to apply / verify.
I've tested this and everything is now installed into the prefix
directory as specified in ./configure.
Cheers,
Allan.
-------------- next part --------------
Index: configure
===================================================================
RCS file: /var/lib/mythcvs/mythtv/configure,v
retrieving revision 1.37
diff -u -r1.37 configure
--- configure 25 Mar 2005 04:04:17 -0000 1.37
+++ configure 25 Mar 2005 12:37:27 -0000
@@ -1734,7 +1734,7 @@
echo "/* Automatically generated by configure - do not modify */" > $TMPH
echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
-#echo "prefix=$prefix" >> config.mak
+echo "PREFIX=$prefix" >> config.mak
#echo "bindir=$bindir" >> config.mak
#echo "mandir=$mandir" >> config.mak
#echo "MAKE=$make" >> config.mak
-------------- next part --------------
Index: configure
===================================================================
RCS file: /var/lib/mythcvs/mythtv/configure,v
retrieving revision 1.37
diff -u -r1.37 configure
--- configure 25 Mar 2005 04:04:17 -0000 1.37
+++ configure 25 Mar 2005 12:28:25 -0000
@@ -911,6 +911,10 @@
ARCHFLAGS="-march=pentium4"
elif expr "$processor" : ".*Intel(R) Pentium(R) M" > /dev/null ; then
ARCHFLAGS="-march=pentium4"
+ elif expr "$processor" : ".*Intel(R) Xeon(TM) CPU" > /dev/null ; then
+ ARCHFLAGS="-march=pentium4"
+ elif expr "$processor" : ".*Pentium(R) III Xeon processor" > /dev/null ; then
+ ARCHFLAGS="-march=pentium3"
elif expr "$processor" : ".*Intel(R) Celeron(R) CPU" > /dev/null ; then
ARCHFLAGS="-march=pentium2"
elif expr "$processor" : ".*AMD Sempron(tm)" > /dev/null ; then
@@ -1734,7 +1738,7 @@
echo "/* Automatically generated by configure - do not modify */" > $TMPH
echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
-#echo "prefix=$prefix" >> config.mak
+echo "PREFIX=$prefix" >> config.mak
#echo "bindir=$bindir" >> config.mak
#echo "mandir=$mandir" >> config.mak
#echo "MAKE=$make" >> config.mak
More information about the mythtv-dev
mailing list