gfx/harfbuzz/autogen.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 # Run this to generate all the initial makefiles, etc.
     4 test -n "$srcdir" || srcdir=`dirname "$0"`
     5 test -n "$srcdir" || srcdir=.
     7 olddir=`pwd`
     8 cd $srcdir
    10 echo -n "checking for ragel... "
    11 which ragel || {
    12 	echo "You need to install ragel... See http://www.complang.org/ragel/"
    13 	exit 1
    14 }
    16 echo -n "checking for pkg-config... "
    17 which pkg-config || {
    18 	echo "*** No pkg-config found, please install it ***"
    19 	exit 1
    20 }
    22 echo -n "checking for autoreconf... "
    23 which autoreconf || {
    24 	echo "*** No autoreconf found, please install it ***"
    25 	exit 1
    26 }
    28 echo "running autoreconf --force --install --verbose"
    29 autoreconf --force --install --verbose || exit $?
    31 cd $olddir
    32 echo "running configure $@"
    33 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

mercurial