From 1f53d1faa90f119d946f6fc7db9c09c2af767cb5 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 1 Oct 2019 16:50:37 +0200 Subject: [PATCH] Fix thinkos in DW_FORM_strx detection in configure.ac My patch "568dee1 PR25042 - Support string form DW_FORM_strx{1,4} from DWARF 5" introduced a thinko in configure.ac. The thinko triggers a regression test issue on old systems where we don't support DW_FORM_strx from DWARF 5. Fixed thus. * configure.ac: Fix thinko when setting the HAVE_DW_FORM_strx macro. Signed-off-by: Dodji Seketeli --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index df3b6b9..87605a3 100644 --- a/configure.ac +++ b/configure.ac @@ -830,10 +830,10 @@ if test x$HAS_DW_FORM_strx4 = xyes; then [Define to 1 if dwarf.h has the DW_FORM_strx4 enumerator]) fi -if test x$HAS_DW_FORM_strx1 -a \ - x$HAS_DW_FORM_strx2 -a \ - x$HAS_DW_FORM_strx3 -a \ - x$HAS_DW_FORM_strx4; then +if test x$HAS_DW_FORM_strx1 = xyes -a \ + x$HAS_DW_FORM_strx2 = xyes -a \ + x$HAS_DW_FORM_strx3 = xyes -a \ + x$HAS_DW_FORM_strx4 = xyes ; then AC_DEFINE([HAVE_DW_FORM_strx], 1, [Define to 1 if dwarf.h has the DW_FORM_strx enumerators]) -- 2.7.4