Bug 798957 - Add MOZ_PER_WINDOW_PRIVATE_BROWSING to the list of preprocessor macros; r=glandium
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 07 Oct 2012 15:50:40 -0400
changeset 109799 957abd0620e113d21470d58a38d36ba93d37aaf7
parent 109798 fa5fa35e15df7e67f5f6ae9cf0a50ffffd226067
child 109800 65ab678f3ea20bab3e5e1edfe180718323c68f8c
push id84
push usernmatsakis@mozilla.com
push dateThu, 11 Oct 2012 23:26:24 +0000
reviewersglandium
bugs798957
milestone18.0a1
Bug 798957 - Add MOZ_PER_WINDOW_PRIVATE_BROWSING to the list of preprocessor macros; r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8379,16 +8379,20 @@ AC_SUBST(USE_DEPENDENT_LIBS)
 AC_SUBST(MOZ_BUILD_ROOT)
 AC_SUBST(MOZ_OS2_TOOLS)
 
 AC_SUBST(MOZ_POST_DSO_LIB_COMMAND)
 AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
 AC_SUBST(MOZ_LINKER_EXTRACT)
 AC_SUBST(MOZ_PER_WINDOW_PRIVATE_BROWSING)
 
+if test -n "$MOZ_PER_WINDOW_PRIVATE_BROWSING" ; then
+    AC_DEFINE(MOZ_PER_WINDOW_PRIVATE_BROWSING)
+fi
+
 dnl ========================================================
 dnl = Mac bundle name prefix
 dnl ========================================================
 MOZ_ARG_WITH_STRING(macbundlename-prefix,
 [  --with-macbundlename-prefix=prefix
                           Prefix for MOZ_MACBUNDLE_NAME],
 [ MOZ_MACBUNDLE_NAME_PREFIX="$withval"])