From ec5d95782d90c6b6b7f291a4a8214cc7f64dadd6 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Fri, 21 Feb 2020 10:24:32 +0100 Subject: [PATCH] Verify '--with-nativecomp' has also '--with-dumping=pdumper' --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index c8e22ff5925..0b2f5b69d6b 100644 --- a/configure.ac +++ b/configure.ac @@ -3738,6 +3738,9 @@ If you are sure you want Emacs compiled without elisp native compiler, pass to configure.]) fi fi +if test "${HAVE_NATIVE_COMP}" = yes && test "${HAVE_PDUMPER}" = no; then + AC_MSG_ERROR(['--with-nativecomp' requires '--with-dumping=pdumper']) +fi AC_DEFINE_UNQUOTED(NATIVE_ELISP_SUFFIX, ".eln", [System extension for native compiled elisp]) AC_SUBST(HAVE_NATIVE_COMP) -- 2.39.5