configure.in
author Kevin Wern <kevin.m.wern@gmail.com>
Wed, 30 Nov 2016 19:48:02 -0500
changeset 325752 ea7338a0b3deb91d7e10008e3560ca8e8e3605b0
parent 310121 54cf74de41dfa8dfd04fcdf01616609e7f7e2704
permissions -rw-r--r--
Bug 1304044 - implement auxclick r=smaug After click events with button 2 or 3 are fired, fire auxclick, a new event intended to represent a non-primary mouse click. Because this event, based on the design examples and blink's implementation, is intended to be used with content listeners, always dispatch on content listeners--not just those that force all events to be dispatched (i.e. document/window). This diverges from the behavior of our click events from non-primary buttons. Eventually, we hope this will replace click events for non-primary buttons. For now, leave those events for compatibility reasons. Additionally, add handling of this new event, where necessary. MozReview-Commit-ID: 8osozM4h6Ya

#!/bin/sh
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Welcome to the new world of configure. We're working on moving to a
# python based configure. In the meanwhile, remains of the old autoconf
# based configure is in old-configure.in.
# If you need to add something, please come talk to the build system
# peers for now.
#
# Because adding a configure file in the tree is going to conflict with
# existing configure files in people's (and automation) work trees, and
# because some automation jobs are still running autoconf and configure
# "manually", this file is actually an m4 file that is processed by
# autoconf, but doesn't call any autoconf macros. The `divert` line
# below ensures the script that follows is output by autoconf.
: "divert(0)dnl"
#!/bin/sh

SRCDIR=$(dirname $0)
TOPSRCDIR="$SRCDIR"
export OLD_CONFIGURE="$SRCDIR"/old-configure

which python2.7 > /dev/null && exec python2.7 "$TOPSRCDIR/configure.py" "$@" || exec python "$TOPSRCDIR/configure.py" "$@"