On 12/5/05, Greg Schafer <[EMAIL PROTECTED]> wrote:

<snip>

> Just a couple of things to add here: GTK2 is now the default toolkit in
> 1.5. Following on from this, XFT is now also the default. This means there
> is no need for these switches:
>
>   --enable-default-toolkit=gtk2
>   --enable-xft
>   --disable-freetype2

You're right about all of these.  On most platforms including linux,
_PLATFORM_DEFAULT_TOOLKIT=gtk2, and this will set _DEFAULT_TOOLKIT and
in turn MOZ_DEFAULT_TOOLKIT unless you override it with
--enable-default-toolkit.

If gtk2 is the toolkit, then MOZ_ENABLE_XFT is set to 1. 
MOZ_ENABLE_FREETYPE2 is not set unless you specifically pass
--enable-freetype2.

Therfore, all three switches can be dropped.

> Debug is now disabled in the release tarballs so it can go too:
>
>   --disable-debug

Also true.  MOZ_DEBUG= unless you pass --enable-debug.

> Study the configure.ac and you'll probably find heaps of others.. The
> above is what I have stumbled upon to date.

Psst ... there is no configure.ac :) .  However, since there isn't,
configure is infinitely easier to read.

Other fixes:

--enable-shared can be dropped.  By default, BUILD_SHARED_LIBS=1 and
BUILD_STATIC_LIBS= .  Haven't checked, but it looks like it will bark
if you have --enable-static without --disable-shared.

--enable-optimize can be dropped unless you're specifically disabling
it or passing arguments like ="-O2 ...".  MOZ_OPTIMIZE=1 unless
--disable-optimize or --enable-optimize=no.

--disable-tests is needed.  ENABLE_TESTS=1 by default.

--disable-installer is needed for linux unless you want the installer
like Ag was talking about.

--enable-svg is needed if you want svg, and the default renderer is cairo.

Not sure about this, but I think USE_PTHREADS will be used if the
configure check for pthread_create in -lc passes.  This would mean
--with-pthreads can be dropped.

Could anyone explain to me what --with-default-mozilla-five-home does?
 configure only tacks on this value if you pass this in.  There's no
default AFAICT.

--enable-xinerama appears to be needed if you want that.  This is
dependent on configure finding the libs and headers.  It will not tell
you that it's not adding the functionality.

--enable-reorder is needed if you want it.  Could anyone explain the
whether this is safe or not?

--enable-strip is needed.  Sets ENABLE_STRIP=1, and this is unset otherwise.

> Another thing, why the heck is --enable-cpp-rtti specified in the BLFS
> instructions? AFAICT it is a debugging aid.

--enable-cpp-rtti is needed.  Anyone care to explain the rationale? 
Seems to add -frtti or -fno-rtti to the CXXFLAGS or similar.

--disable-logging is needed.  Rationale?

--disable-pedantic is needed for GNU cc.  Personal preference I guess.

--disable-accessibility is needed.  Again, personal preference.

--with-user-appdir=.firefox.  Anyone use this?  I found that it didn't
move the whole profile.  Most of it stayed in .mozilla.  In fact, I
think the profiles stayed, and the appreg file and plugins dir moved
to .firefox.

OK, that's all I've got.  I'll rebuild with these changes and see what happens.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to