2002-10-21 20:37:12 +02:00
|
|
|
# .mozconfig.in -*-shell-script-*-
|
|
|
|
# $FreeBSD$
|
2002-10-22 11:26:56 +02:00
|
|
|
######################################################################
|
|
|
|
# standard opts from README
|
2002-10-21 20:37:12 +02:00
|
|
|
export MOZ_PHOENIX=1
|
|
|
|
mk_add_options MOZ_PHOENIX=1
|
|
|
|
ac_add_options --enable-crypto
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
|
|
|
ac_add_options --disable-mailnews
|
|
|
|
ac_add_options --disable-composer
|
2002-10-22 11:26:56 +02:00
|
|
|
######################################################################
|
2002-10-21 20:37:12 +02:00
|
|
|
# FBSD specific
|
2002-11-10 19:05:10 +01:00
|
|
|
export CPPFLAGS="@CPPFLAGS@"
|
2002-11-01 13:41:01 +01:00
|
|
|
export CFLAGS="@CFLAGS@"
|
|
|
|
export LIBS="@LIBS@"
|
2002-11-10 19:05:10 +01:00
|
|
|
export LDFLAGS="@LDFLAGS@"
|
2002-11-02 19:24:51 +01:00
|
|
|
export CONFIG_SH=/bin/sh
|
2002-11-04 19:00:16 +01:00
|
|
|
export XP_UNIX=1
|
2002-11-10 19:05:10 +01:00
|
|
|
mk_add_options XP_UNIX=1
|
2003-06-03 03:10:33 +02:00
|
|
|
export PERL="@PERL@"
|
2002-10-23 13:43:09 +02:00
|
|
|
mk_add_options PERL=$PERL
|
2002-11-01 13:41:01 +01:00
|
|
|
# Configure options for installation
|
|
|
|
ac_add_options --prefix=@PREFIX@
|
2002-10-22 11:26:56 +02:00
|
|
|
######################################################################
|
|
|
|
# Use ports for these libraries
|
2002-10-21 20:37:12 +02:00
|
|
|
ac_add_options --with-system-jpeg=@LOCALBASE@
|
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --with-system-png=@LOCALBASE@
|
|
|
|
ac_add_options --with-system-mng=@LOCALBASE@
|
2002-10-22 11:26:56 +02:00
|
|
|
######################################################################
|
2002-12-14 23:49:59 +01:00
|
|
|
# set compile/link features
|
2002-10-21 20:37:12 +02:00
|
|
|
ac_add_options --with-pthreads
|
2002-10-22 11:26:56 +02:00
|
|
|
ac_add_options --enable-reorder
|
|
|
|
######################################################################
|
2002-12-14 23:49:59 +01:00
|
|
|
# disable unneeded/unavailable
|
2002-12-10 09:57:05 +01:00
|
|
|
ac_add_options --disable-auto-deps
|
|
|
|
ac_add_options --disable-bidi
|
|
|
|
ac_add_options --disable-dtd-debug
|
|
|
|
ac_add_options --disable-jsd
|
2002-10-22 11:26:56 +02:00
|
|
|
ac_add_options --disable-ldap
|
|
|
|
ac_add_options --disable-pedantic
|
2003-10-24 08:38:15 +02:00
|
|
|
ac_add_options --disable-profilesharing
|
|
|
|
ac_add_options --disable-installer
|
2004-02-11 08:16:17 +01:00
|
|
|
ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices,inspector
|
2002-12-14 23:49:59 +01:00
|
|
|
######################################################################
|
|
|
|
# conditional from port Makefile
|
2002-12-13 10:41:38 +01:00
|
|
|
if test -n "$WITH_DEBUG"; then
|
|
|
|
ac_add_options --enable-debug
|
2004-03-05 08:16:45 +01:00
|
|
|
ac_add_options --disable-strip
|
2002-12-14 23:49:59 +01:00
|
|
|
else
|
|
|
|
ac_add_options --disable-debug
|
2004-02-11 08:16:17 +01:00
|
|
|
ac_add_options --enable-optimize
|
2004-03-05 08:16:45 +01:00
|
|
|
ac_add_options --enable-strip
|
2002-12-14 23:49:59 +01:00
|
|
|
fi # test -n "$WITH_DEBUG"
|
|
|
|
if test -n "$WITH_LOGGING"; then
|
2002-12-13 10:41:38 +01:00
|
|
|
ac_add_options --enable-logging
|
|
|
|
else
|
|
|
|
ac_add_options --disable-logging
|
2002-12-14 23:49:59 +01:00
|
|
|
fi # test -n "$WITH_LOGGING"
|
|
|
|
if test -z "$WITHOUT_XFT"; then
|
|
|
|
ac_add_options --enable-xft
|
|
|
|
else
|
|
|
|
ac_add_options --disable-xft
|
|
|
|
fi # test -z "$WITHOUT_XFT"
|
2003-06-02 20:30:59 +02:00
|
|
|
if test -n "$WITH_GTK2"; then
|
|
|
|
ac_add_options --enable-default-toolkit=gtk2
|
|
|
|
else
|
|
|
|
ac_add_options --enable-default-toolkit=gtk
|
|
|
|
fi # test -n "$WITH_GTK2"
|
2002-10-22 11:26:56 +02:00
|
|
|
######################################################################
|