been restored, extra knobs have added, and extensive diagnostics have been added. PLEASE upgrade to this version. Approved by: kris (part of phoenix upgrade)
66 lines
2.2 KiB
Bash
66 lines
2.2 KiB
Bash
# .mozconfig.in -*-shell-script-*-
|
|
# $FreeBSD$
|
|
######################################################################
|
|
# standard opts from README
|
|
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
|
|
######################################################################
|
|
# FBSD specific
|
|
export CPPFLAGS="@CPPFLAGS@"
|
|
export CFLAGS="@CFLAGS@"
|
|
export LIBS="@LIBS@"
|
|
export LDFLAGS="@LDFLAGS@"
|
|
export CONFIG_SH=/bin/sh
|
|
export XP_UNIX=1
|
|
mk_add_options XP_UNIX=1
|
|
export PERL=/usr/local/bin/perl
|
|
mk_add_options PERL=$PERL
|
|
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
|
|
mk_add_options GTK_CONFIG=$GTK_CONFIG
|
|
export GLIB_CONFIG=@LOCALBASE@/bin/glib12-config
|
|
mk_add_options GLIB_CONFIG=$GLIB_CONFIG
|
|
# Configure options for installation
|
|
ac_add_options --prefix=@PREFIX@
|
|
######################################################################
|
|
# Use ports for these libraries
|
|
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@
|
|
######################################################################
|
|
# set compile/link features
|
|
ac_add_options --with-pthreads
|
|
ac_add_options --enable-reorder
|
|
ac_add_options --enable-strip
|
|
######################################################################
|
|
# disable unneeded/unavailable
|
|
ac_add_options --disable-auto-deps
|
|
ac_add_options --disable-bidi
|
|
ac_add_options --disable-dtd-debug
|
|
ac_add_options --disable-jsd
|
|
ac_add_options --disable-ldap
|
|
ac_add_options --disable-pedantic
|
|
ac_add_options --disable-xinerama
|
|
######################################################################
|
|
# conditional from port Makefile
|
|
if test -n "$WITH_DEBUG"; then
|
|
ac_add_options --enable-debug
|
|
else
|
|
ac_add_options --disable-debug
|
|
fi # test -n "$WITH_DEBUG"
|
|
if test -n "$WITH_LOGGING"; then
|
|
ac_add_options --enable-logging
|
|
else
|
|
ac_add_options --disable-logging
|
|
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"
|
|
######################################################################
|