summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure7
-rw-r--r--configure.ac7
3 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 21420bdb..712df04c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-26 Mark Wielaard <mjw@redhat.com>
+
+ * configure.ac: Check for version.h.in before installing.
+ * configure: Regenerated.
+
2009-01-23 Frank Ch. Eigler <fche@elastic.org>
PR9768.
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
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