[Rpm-maint] [PATCH] Fix libdw configure check.
Florian Festi
ffesti at redhat.com
Wed Aug 24 16:39:06 UTC 2016
Thank you very much for the fix. Pushed.
On 08/24/2016 05:06 PM, Mark Wielaard wrote:
> commit a82119 "configure.ac: use LIBDW always conditionally" contained
> a typo that caused WITH_LIBDW_LIB never to be set when you were using
> libelf. Fixed by reverting the "!=" to "=" again.
>
> Signed-off-by: Mark Wielaard <mjw at redhat.com>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6935c6e..6ece8c9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -370,7 +370,7 @@ AM_CONDITIONAL(WITH_ARCHIVE,[test "$with_archive" = yes])
> #=================
> # Check for elfutils libdw library with dwelf_elf_gnu_build_id.
> WITH_LIBDW_LIB=
> -AS_IF([test "$WITH_LIBELF" != yes],[
> +AS_IF([test "$WITH_LIBELF" = yes],[
> AC_CHECK_HEADERS([elfutils/libdwelf.h],[
> AC_CHECK_LIB(dw, dwelf_elf_gnu_build_id, [
> AC_DEFINE(HAVE_LIBDW, 1,
>
--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
Michael O'Neill
More information about the Rpm-maint
mailing list