[mythtv] [patch] automagic settings.pro (version 6)

Nigel Pearson nigel at ind.tansu.com.au
Wed Mar 2 01:25:46 UTC 2005


> Yep, now you can do it on the command line, mine is
>   ./configure --enable-dvb 
> --dvb-path=/cvs/myth/dvb-kernel/linux/include --disable-firewire 
> --enable-xvmc

	Cool. I think I would have kept the include path in settings.pro,
but either file is should be fine.

...
> ]2) Note that -altivec is now included twice. Need to
> ]   remove the Altivec support block from settings.pro
>
> I've removed it, but I also had to add
> debug {
>     # make sure we still get altivec support
>     contains( TARGET_ARCH_POWERPC, yes ) {
>         QMAKE_CXXFLAGS_RELEASE = $$OPTFLAGS -O2 -g
>     }
> }
> So that the altivec settings get picked up in debug as well.

	I suspect that most developers wouldn't want Altivec + debug,
but it is easy enough to find in settings.pro.

> ]3) How do you feel about adding '--enable-fast'?
> ]   (both Solaris CC and Apple GCC support --fast)
>
> This is a question for Issac.

	No, you are the one improving configure. Seize the Day!

	It is really just another optimisation flag.
Since the new configure has --enable-small, I thought that
the orthogonal optimisation for speed would make sense?



	V7 patch looks good - settings.pro is nice and simple,
and a Mac OS X build was clean. Still working on Solaris :-)

	Do you feel up to trying this in the other modules?
I am assuming that we could use the exact same configure.
(either through CVS symlink trickery,
  or by installing config.{h,mak} from the MythTV build)

--
Nigel Pearson, nigel at ind.tansu.com.au | "Peacemaking is our profession"
Telstra BI&D, Sydney, Australia       | Motto of Burpelson Airforce Base
Office: 8255 4222    Fax:  8255 3153  | Commanded by Gen. Jack D. Ripper
Mobile: 0408 664435  Home: 9792 6998  |        Dr Strangelove



More information about the mythtv-dev mailing list