]> git.eshelyaron.com Git - emacs.git/commitdiff
Verify '--with-nativecomp' has also '--with-dumping=pdumper'
authorAndrea Corallo <akrl@sdf.org>
Fri, 21 Feb 2020 09:24:32 +0000 (10:24 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 21 Feb 2020 15:26:45 +0000 (15:26 +0000)
configure.ac

index c8e22ff5925b93c96c7f47f3a9b2d1887b7246a3..0b2f5b69d6bf6527dc82aefb33191d69fd0dcc2f 100644 (file)
@@ -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)