GNU bug report logs -
#52436
[patch] autoconf: Check for gperf if running from git
Previous Next
To reply to this bug, email your comments to 52436 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#52436
; Package
guile
.
(Sat, 11 Dec 2021 14:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Sat, 11 Dec 2021 14:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
the attached patch adds a check for gperf.
[0001-autoconf-Check-for-gperf-if-running-from-git.patch (text/x-patch, inline)]
From 478eb18a38eb8d15cc96fde148842cf0329bfba5 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Mon, 11 Oct 2021 07:33:23 +0200
Subject: [PATCH] autoconf: Check for gperf if running from git
this avoids breaking at runtime.
---
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configure.ac b/configure.ac
index bd49bf162..bd4e9fd2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,15 @@ else
fi
fi
+# Check for gperf if running from git
+AC_MSG_CHECKING([Checking for gperf if built from git])
+if ! test -f ".tarball-version" && false; then
+ AC_CHECK_TOOL([GPERF], [gperf], [no])
+ if test x"$GPERF" = x"no"; then
+ AC_MSG_ERROR([Building from git requires gperf, but it could not be found. Please install gperf.])
+ fi
+fi
+
gl_EARLY
AC_PROG_CPP
AC_PROG_SED
--
2.34.0
[Message part 3 (text/plain, inline)]
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.