Commit 63fd4df6 authored by waterson%netscape.com's avatar waterson%netscape.com
Browse files

Added BRPROF into the build, --disable-brprof to disable it.

parent b034a8fa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ MOZILLA_GPROF = @MOZILLA_GPROF@
BUILD_PROFILE	= @MOZILLA_GPROF@
MOZ_MAIL_NEWS	= @MOZ_MAIL_NEWS@
MOZ_EDITOR	= @MOZ_EDITOR@
MOZ_BRPROF      = @MOZ_BRPROF@
UNIX_SKIP_ASSERTS = @UNIX_SKIP_ASSERTS@
NO_UNIX_ASYNC_DNS = @NO_UNIX_ASYNC_DNS@
NO_SHARED_LIB	= @NO_SHARED_LIB@
+7 −0
Original line number Diff line number Diff line
@@ -739,6 +739,12 @@ MOZ_ARG_ENABLE_BOOL(tests,
[  --enable-tests          Enable test stubs],
  ENABLE_TESTS=1)

dnl Build browsing profile by default
MOZ_BRPROF=1
MOZ_ARG_DISABLE_BOOL(brprof,
[  --disable-brprof        Disable browsing profile cookie],
  [MOZ_BRPROF= ] )

useRhapsody=`echo $target_os | egrep "^Rhapsody"`
MOZ_ARG_ENABLE_STRING(toolkit,
[  --enable-toolkit=\$val   Enable \$val fe (defaults to gtk)],
@@ -941,6 +947,7 @@ AC_SUBST(MOZ_BUILD_XPFE)
AC_SUBST(MOZ_BUILD_NSPR)
dnl AC_SUBST(MOZ_LDAP)
AC_SUBST(MOZ_EDITOR)
AC_SUBST(MOZ_BRPROF)

dnl Remove this once clipboard is working.
AC_SUBST(NEW_CLIPBOARD_SUPPORT)
+4 −0
Original line number Diff line number Diff line
@@ -30,6 +30,10 @@ CSRCS = \
	mkaccess.c	\
	$(NULL)

ifdef MOZ_BRPROF
CPPSRCS += nsGetBrowsingProfile.cpp
endif

EXPORTS = mkaccess.h httpurl.h httpauth.h cookies.h 

include $(topsrcdir)/config/rules.mk