build/autoconf/clean-config.sh

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rwxr-xr-x

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 #!/bin/sh
     2 #
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 # clean-config.sh - Removes all files generated by mozilla configure.
     8 #    Only removes files from the topsrcdir. To clean up an objdir,
     9 #    simply remove the directory and start over.
    10 #
    11 # Usage:
    12 #    1. cd <topsrcdir>
    13 #    2. build/autoconf/clean-config.sh
    14 #
    15 # Send comments, improvements, bugs to slamm@netscape.com
    17 topsrcdir=`cd \`dirname $0\`/../..; pwd`
    19 if [ ! -f configure.in ]; then
    20   echo "clean-config.sh only cleans the source tree. To run," 2>&1
    21   echo "  cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
    22   echo "  (To clean a separate objdir, simple remove the directory.)" 2>&1
    23   exit 1
    24 fi
    26 rm -fr \
    27     config-defs.h \
    28     config.cache \
    29     config.log \
    30     config.status \
    31     $NULL

mercurial