diff options
| author | Ken Brown | 2021-10-29 11:38:55 -0400 |
|---|---|---|
| committer | Ken Brown | 2021-10-31 19:30:25 -0400 |
| commit | 6ba4e3b78c9ade565ebcb9fa0473c798e0bc0a7b (patch) | |
| tree | a0bb31e40de75531e7f167a8ad5d6f59ad09fa76 | |
| parent | 7e15ee5bc93b1f4b00020cc2fd401fd9d1a6711a (diff) | |
| download | emacs-6ba4e3b78c9ade565ebcb9fa0473c798e0bc0a7b.tar.gz emacs-6ba4e3b78c9ade565ebcb9fa0473c798e0bc0a7b.zip | |
Drop support for native compilation on 32-bit Cygwin
* configure.ac (cygwin32-native-compilation): New option.
[i686-pc-cygwin]: Don't allow native compilation unless that
option is specified. (Bug#50666)
| -rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e6ffea06378..6bc194d792f 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -485,6 +485,7 @@ OPTION_DEFAULT_ON([zlib],[don't compile with zlib decompression support]) | |||
| 485 | OPTION_DEFAULT_ON([modules],[don't compile with dynamic modules support]) | 485 | OPTION_DEFAULT_ON([modules],[don't compile with dynamic modules support]) |
| 486 | OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support]) | 486 | OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support]) |
| 487 | OPTION_DEFAULT_OFF([native-compilation],[compile with Emacs Lisp native compiler support]) | 487 | OPTION_DEFAULT_OFF([native-compilation],[compile with Emacs Lisp native compiler support]) |
| 488 | OPTION_DEFAULT_OFF([cygwin32-native-compilation],[use native compilation on 32-bit Cygwin]) | ||
| 488 | 489 | ||
| 489 | AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB], | 490 | AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB], |
| 490 | [use a file notification library (LIB one of: yes, inotify, kqueue, gfile, w32, no)])], | 491 | [use a file notification library (LIB one of: yes, inotify, kqueue, gfile, w32, no)])], |
| @@ -3814,6 +3815,16 @@ source on this site: | |||
| 3814 | HAVE_NATIVE_COMP=no | 3815 | HAVE_NATIVE_COMP=no |
| 3815 | LIBGCCJIT_LIBS= | 3816 | LIBGCCJIT_LIBS= |
| 3816 | LIBGCCJIT_CFLAGS= | 3817 | LIBGCCJIT_CFLAGS= |
| 3818 | if test "$canonical" = i686-pc-cygwin; then | ||
| 3819 | if test "${with_cygwin32_native_compilation}" = yes; then | ||
| 3820 | with_native_compilation=yes | ||
| 3821 | elif test "${with_native_compilation}" != no; then | ||
| 3822 | AC_MSG_ERROR([Native compilation is not supported on 32-bit Cygwin. | ||
| 3823 | If you really want to try it anyway, use the configure option | ||
| 3824 | '--with-cygwin32-native-compilation'.]) | ||
| 3825 | fi | ||
| 3826 | fi | ||
| 3827 | |||
| 3817 | if test "${with_native_compilation}" != "no"; then | 3828 | if test "${with_native_compilation}" != "no"; then |
| 3818 | if test "${HAVE_PDUMPER}" = no; then | 3829 | if test "${HAVE_PDUMPER}" = no; then |
| 3819 | AC_MSG_ERROR(['--with-native-compilation' requires '--with-dumping=pdumper']) | 3830 | AC_MSG_ERROR(['--with-native-compilation' requires '--with-dumping=pdumper']) |