Revision 0ff314eaa1de204ee17785b7d030b543a15bf567 authored by B2G Bumper Bot on 02 June 2014, 16:15:50 UTC, committed by B2G Bumper Bot on 02 June 2014, 16:15:50 UTC
========

https://hg.mozilla.org/integration/gaia-1_3/rev/243687f48e5c
Author: Julien Wajsberg <felash@gmail.com>
Desc: Merge pull request #19878 from julienw/1000337-v1.3-fix-notifications-test

Bug 1000337 - Correct notification title checking in integration test

========

https://hg.mozilla.org/integration/gaia-1_3/rev/9594e7227e25
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Bug 1000337 - Correct notification title checking in integration test a=tests-only
1 parent a5088ae
Raw File
configure
#!/bin/sh

# Default srcdir to this directory
srcdir=

for option; do
  case "$option" in
  -*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) optarg= ;;
  esac

  case "$option" in
  --srcdir=*) srcdir="$optarg";;
  esac
done

if test -z "$CXX"; then
  CXX=`which clang++`
fi

echo -n "checking for llvm-config... "

if test -z "$LLVMCONFIG"; then
  LLVMCONFIG=`which llvm-config`
fi

if test -z "$LLVMCONFIG"; then
  LLVMCONFIG=`dirname $CXX`/llvm-config
fi

if test ! -x "$LLVMCONFIG"; then
  echo "configure: error: Cannot find an llvm-config binary for building a clang plugin" 1>&2
  exit 1
fi

echo "$LLVMCONFIG"

LLVMCXXFLAGS=`$LLVMCONFIG --cxxflags`
LLVMLDFLAGS=`$LLVMCONFIG --ldflags`
CXXFLAGS="$CXXFLAGS $LLVMCXXFLAGS -fno-rtti -fno-exceptions"
LDFLAGS="$LDFLAGS $LLVMLDFLAGS"

cat $srcdir/Makefile.in | sed \
  -e "s%@CXX@%$CXX%" \
  -e "s%@CXXFLAGS@%$CXXFLAGS%" \
  -e "s%@LDFLAGS@%$LDFLAGS%" \
  -e "s%@srcdir@%$srcdir%" \
  > Makefile
back to top