Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Commit

Permalink
configure: Remove AX_VALGRIND_DFLT references
Browse files Browse the repository at this point in the history
AX_VALGRIND_DFLT makes it imposible to build cc-oci-runtime in older
distros. Hence we need to disable this checks in order to build
successfuly on Ubuntu 16.04, Ubuntu 16.10 and Fedora 24.

Added --disable-valgrind-sgcheck to default build options

Fixes #888 and #887

Signed-off-by: Geronimo Orozco <[email protected]>
  • Loading branch information
gorozco1 committed May 18, 2017
1 parent 61e9dbc commit 161aa5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .ci/ci-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ configure_opts+=" --enable-valgrind"
configure_opts+=" --disable-valgrind-helgrind"
configure_opts+=" --disable-valgrind-drd"
configure_opts+=" --disable-silent-rules"
configure_opts+=" --disable-valgrind-sgcheck"

if [ "$nested" = "Y" ]
then
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
--enable-valgrind \
--disable-valgrind-helgrind \
--disable-valgrind-drd \
--disable-valgrind-sgcheck \
--enable-code-coverage \
--enable-functional-tests \
--with-systemdsystemunitdir=/tmp/cc-distcheck/systemdunitdir/
Expand Down
3 changes: 2 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ autoreconf --force --install --symlink --warnings=all
args="\
--sysconfdir=/etc \
--localstatedir=/var \
--prefix=/usr"
--prefix=/usr \
--disable-valgrind-sgcheck"

set -x
./configure $args "$@"
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ AC_DEFUN_ONCE([MACRO_CHECK],
ifdef([$1], true, [AC_FATAL([Please install autoconf-archive],)])
])

MACRO_CHECK([AX_VALGRIND_DFLT])
MACRO_CHECK([AX_VALGRIND_CHECK])
MACRO_CHECK([AX_CODE_COVERAGE])

Expand Down Expand Up @@ -375,7 +374,6 @@ AC_ARG_ENABLE([autogopath],
)
AM_CONDITIONAL([AUTOGOPATH], [test x$autogopath = xtrue])

AX_VALGRIND_DFLT([sgcheck], [off])
AX_VALGRIND_CHECK
AX_CODE_COVERAGE

Expand Down

0 comments on commit 161aa5c

Please sign in to comment.