summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index aec13d6e..4f63ffda 100755
--- a/configure
+++ b/configure
@@ -7613,8 +7613,11 @@ $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
--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