From: "fche at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug debuginfod/25493] --enable-debuginfod fails if CXX is set
Date: Mon, 03 Feb 2020 11:36:00 -0000 [thread overview]
Message-ID: <bug-25493-10460-8AuQOAgWI3@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-25493-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=25493
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |fche at redhat dot com
Resolution|--- |FIXED
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=14d5b412dc3baef19bc993c83acdb750fc7e194f
fixes
--- a/configure.ac
+++ b/configure.ac
@@ -687,18 +687,18 @@ fi
# both client and server.
AC_ARG_ENABLE([debuginfod],AC_HELP_STRING([--enable-debuginfod], [Build
debuginfod server and client]))
AC_PROG_CXX
-AX_CXX_COMPILE_STDCXX(11, noext, optional)
AS_IF([test "x$enable_debuginfod" != "xno"], [
- AC_MSG_NOTICE([checking debuginfod dependencies, disable to skip])
+ AC_MSG_NOTICE([checking debuginfod C++11 support, --disable-debuginfod to
skip])
+ AX_CXX_COMPILE_STDCXX(11, noext, mandatory)
+ AC_MSG_NOTICE([checking debuginfod dependencies, --disable-debuginfod to
skip])
enable_debuginfod=yes # presume success
PKG_PROG_PKG_CONFIG
- if test "x$ac_cv_prog_ac_ct_CXX" = "x"; then enable_debuginfod=no; fi
PKG_CHECK_MODULES([libmicrohttpd],[libmicrohttpd >=
0.9.33],[],[enable_debuginfod=no])
PKG_CHECK_MODULES([libcurl],[libcurl >= 7.29.0],[],[enable_debuginfod=no])
PKG_CHECK_MODULES([sqlite3],[sqlite3 >= 3.7.17],[],[enable_debuginfod=no])
PKG_CHECK_MODULES([libarchive],[libarchive >=
3.1.2],[],[enable_debuginfod=no])
if test "x$enable_debuginfod" = "xno"; then
- AC_MSG_ERROR([C++ compiler or dependencies not found, use
--disable-debuginfod to disable.])
+ AC_MSG_ERROR([dependencies not found, use --disable-debuginfod to
disable.])
fi
])
--
You are receiving this mail because:
You are on the CC list for the bug.
prev parent reply other threads:[~2020-02-03 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-02 10:52 [Bug debuginfod/25493] New: " heirecka at exherbo dot org
2020-02-03 11:36 ` fche at redhat dot com [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-25493-10460-8AuQOAgWI3@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).