Skip to content

Commit

Permalink
Remove autoconf call [skip appveyor]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Aug 5, 2019
1 parent a7a7b07 commit 314e7ca
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .ci/build.sh
Expand Up @@ -44,20 +44,6 @@ cd ext || exit 1
phpize

if [[ -n ${REPORT_COVERAGE+x} ]] && [[ "$REPORT_COVERAGE" = "1" ]]; then
# The ltmain.sh which bundled with PHP it's from libtool 1.5.26.
# However, the version of libtool that claims to no longer remove
# ".gcno" profiler information is libtool 2.2.6. The fix is probably
# in later libtool versions as well.
if [[ "$(uname -s 2>/dev/null)" = "Darwin" ]]; then
# macOS
LIBTOOLIZE_BIN=$(command -v glibtoolize 2>/dev/null)
else
# Linux, Gentoo, etc
LIBTOOLIZE_BIN=$(command -v libtoolize 2>/dev/null)
fi

aclocal && ${LIBTOOLIZE_BIN} --copy --force && autoheader && autoconf

CFLAGS=${CFLAGS//-O[0-9s]/}
CXXFLAGS=${CXXFLAGS//-O[0-9s]/}
LDFLAGS=${LDFLAGS//--coverage/}
Expand Down

0 comments on commit 314e7ca

Please sign in to comment.