From: Andrea Corallo Date: Fri, 21 Feb 2020 09:24:32 +0000 (+0100) Subject: Verify '--with-nativecomp' has also '--with-dumping=pdumper' X-Git-Tag: emacs-28.0.90~2727^2~823 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec5d95782d90c6b6b7f291a4a8214cc7f64dadd6;p=emacs.git Verify '--with-nativecomp' has also '--with-dumping=pdumper' --- 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)