From 61adb44318a30d599712b69c7e6606510ce0ce2c Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 15 Mar 2023 16:18:04 +0100 Subject: [PATCH] * configure.ac: Fix native comp compatibility check (bug#61960) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ac93d003b70..c818343a5ad 100644 --- a/configure.ac +++ b/configure.ac @@ -4328,8 +4328,8 @@ If you really want to try it anyway, use the configure option fi if test "${with_native_compilation}" != "no"; then - if test "${HAVE_PDUMPER}" = no; then - AC_MSG_ERROR(['--with-native-compilation' requires '--with-dumping=pdumper']) + if test "$with_unexec" = yes; then + AC_MSG_ERROR(['--with-native-compilation' is not compatible with unexec]) fi if test "${HAVE_ZLIB}" = no; then AC_MSG_ERROR(['--with-native-compilation' requires zlib]) -- 2.39.5