summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-01-26 21:20:14 +0100
committerMark Wielaard <mjw@redhat.com>2009-01-26 21:20:14 +0100
commite363355642914bd0a8d98e01224498f262e18163 (patch)
treefc352463237ec02c0008511c01bf17210e442800 /configure.ac
parent4f81fb96fac15c8775b496f3665adcf3e8d43480 (diff)
downloadsystemtap-steved-e363355642914bd0a8d98e01224498f262e18163.tar.gz
systemtap-steved-e363355642914bd0a8d98e01224498f262e18163.tar.xz
systemtap-steved-e363355642914bd0a8d98e01224498f262e18163.zip
Check for version.h.in for elfutils < 0.138.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 862a1566..a0d18c29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -312,8 +312,11 @@ if test $build_elfutils = yes; then
--prefix="$prefix" \
CFLAGS="${CFLAGS/-Wall/}" \
LDFLAGS="$LDFLAGS $elfutils_rpath" &&
- make install-pkgincludeHEADERS
- # so that elfutils/version.h - if any - may be found.
+ if test -f ${elfutils_srcdir}/config/version.h.in; then
+ echo Trying to install elfutils version header...
+ make install-pkgincludeHEADERS
+ fi
+ # so that elfutils/version.h - available from 0.138 - may be found.
# Don't use install-data because that will fail (installing in $prefix).
)
if test $? != 0; then exit; fi