summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 3e0efc95..862a1566 100644
--- a/configure.ac
+++ b/configure.ac
@@ -312,11 +312,11 @@ if test $build_elfutils = yes; then
--prefix="$prefix" \
CFLAGS="${CFLAGS/-Wall/}" \
LDFLAGS="$LDFLAGS $elfutils_rpath" &&
- make -k install-data # so that elfutils/version.h - if any - may be found.
- # Note, we need -k because parts (like to po files) might fail,
- # since those fo to $prefix to which we might not be able to write.
- # We are only really interested in the include-elfutils files anyway here.
+ make install-pkgincludeHEADERS
+ # so that elfutils/version.h - if any - may be found.
+ # Don't use install-data because that will fail (installing in $prefix).
)
+ if test $? != 0; then exit; fi
save_CPPFLAGS=${CPPFLAGS}
CPPFLAGS="${CPPFLAGS} -Iinclude-elfutils" # in case bundled elfutils
AC_CHECK_HEADERS([elfutils/version.h])