summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* emacsclient: assume HAVE_INET_SOCKETSPaul Eggert2018-11-261-15/+0
| | | | | | | | | | | * configure.ac (HAVE_INET_SOCKETS): Remove. * lib-src/emacsclient.c: Simplify by assuming HAVE_SOCKETS and HAVE_INET_SOCKETS, which are always true nowadays, except perhaps for MS-DOS and if so this program shouldn’t be built there anyway. Don’t bother including sys/types.h, as it’s not needed on modern systems (and syswait.h does it for us anyway). (main): Simplify by assuming SIGSTOP (which is always defined if SIGCONT is), and by assuming HAVE_SOCKETS && HAVE_INET_SOCKETS.
* * configure.ac (emacs_config_features): Add notify backends.Glenn Morris2018-10-291-0/+9
|
* Fix struct thread alignment on FreeBSD x86Paul Eggert2018-10-191-0/+16
| | | | | | | | | | | | | | | | | | | | Problem reported by Joseph Mingrone in: https://lists.gnu.org/r/emacs-devel/2018-10/msg00238.html While we’re at it, apply a similar fix to struct Lisp_Subr; this removes the need for GCALIGNED_STRUCT_MEMBER and thus can shrink struct Lisp_Subr a bit. * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Bring back this macro. Although used only for performance (not to actually align structures), we might as well take advantage of it. * src/lisp.h (GCALIGNED_STRUCT_MEMBER): Remove; all uses removed. (union Aligned_Lisp_Subr): New type, like struct Lisp_Subr but aligned. * src/lisp.h (XSUBR, DEFUN): * src/lread.c (defsubr): Use it. All callers changed. * src/thread.c (union aligned_thread_state): New type. (main_thread): Now of this type, so it’s aligned. All uses changed. * src/xmenu.c (syms_of_xmenu) [USE_GTK || USE_X_TOOLKIT]: Adjust to union Aligned_Lisp_Subr change.
* Bring back nocombreloc if dumpingPaul Eggert2018-10-171-0/+33
| | | | | | | | | | | | | Without this patch, Emacs dumps core on Fedora 28 x86-64 when configured via "CC='gcc -m32' --enable-gcc-warnings --without-imagemagick --without-gif --with-modules PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig". and then when run normally in a windowing system. 'make check' and 'emacs -nw' work OK even without the patch. * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Prepend -znocombreloc if supported and if dumping. This mostly reverts 2018-06-15T21:37:39!eggert@cs.ucla.edu "Remove old combreloc hack".
* Merge from origin/emacs-26Glenn Morris2018-10-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73babba (origin/emacs-26) Clarify documentation of fractional vertica... b20c51d * lisp/isearch.el (isearch-cmds): Recall absent isearch--stat... 700acbd doc/lispref/edebug.texi (Specification List) Remove obstrusiv... 1902450 Fix wording in module API documentation e724a8f Fix redisplay of glyphless characters 8fc892d Update --without-toolkit-scroll-bars doc 80e0bfa Call GTK functions only on GTK scrollbars 91c4c46 Update the description of startup in ELisp manual 18b42c6 Use the 'line-number' face for line-number fields past EOB a6ab8db Ensure NS frame is redrawn correctly after scroll Conflicts: lisp/isearch.el
| * Update --without-toolkit-scroll-bars docRobert Pluim2018-10-131-1/+1
| | | | | | | | | | * configure.ac (--without-toolkit-scroll-bars): Update list of affected toolkits.
* | Port --enable-gcc-warnings to recent clangPaul Eggert2018-10-091-1/+2
| | | | | | | | * configure.ac: Disable -Wnull-pointer-arithmetic if clang (Bug#32924).
* | * configure.ac: Fix goofs in my recent ImageMagick change.Glenn Morris2018-08-301-5/+2
| |
* | Merge from origin/emacs-26Glenn Morris2018-08-291-8/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2670cbf (origin/emacs-26) ; * configure.ac: Remove outdated comment (... 3b71bef admin.el: respect environment settings for makeinfo etc 3764ab4 * etc/PROBLEMS: New entry about GTK+ 3 crash with some X serv... 9d61344 Index profiler commands in elisp manual f088817 Fix math-imaginary-i check fca935e ; Let pre-commit git hook check merged in changes (Bug#29197) fe06fcc Avoid infinite hscrolling loops when line numbers are displayed 63e59c8 Avoid crashes in malformed defvar 785682c * configure.ac (emacs_config_features): Add GLIB, XDBE, XIM. 2695b7e * configure.ac: Doc fixes related to --with-xim. d0d162c Small checkdoc quoting fix (bug#32546) Conflicts: configure.ac
| * ; * configure.ac: Remove outdated comment (it was about CRT_DIR).Glenn Morris2018-08-281-1/+0
| |
| * * configure.ac (emacs_config_features): Add GLIB, XDBE, XIM.Glenn Morris2018-08-271-3/+4
| |
| * * configure.ac: Doc fixes related to --with-xim.Glenn Morris2018-08-271-4/+5
| |
| * Update GNOME bugtracker URLsGlenn Morris2018-08-241-1/+1
| | | | | | | | | | | | | | | | * configure.ac, admin/notes/multi-tty, etc/PROBLEMS: * src/emacs.c (main): * src/xterm.c (x_connection_closed): Update GNOME bugtracker URLs. ; * src/gtkutil.c (xg_display_close): ; * src/image.c (svg_load_image): Update URLs in comments.
* | * configure.ac, src/image.c: Tweak previous ImageMagick change.Glenn Morris2018-08-271-12/+9
| |
* | Support ImageMagick version 7 (bug#25967)Karl Otness2018-08-271-4/+13
| | | | | | | | | | | | * configure.ac, src/image.c: Add support for ImageMagick version 7. Copyright-paperwork-exempt: yes
* | Rename --without-mini-gmp to --with-libgmpPaul Eggert2018-08-141-8/+7
| | | | | | | | | | | | | | * configure.ac (HAVE_GMP): Rename ‘configure’ option from --without-mini-gmp to --with-libgmp. All uses changed. * doc/lispref/numbers.texi (Predicates on Numbers): Large integers are always available. Clarify how eq works on them.
* | Merge from origin/emacs-26Glenn Morris2018-08-141-0/+1
|\ \ | |/ | | | | | | | | | | | | 614cc65 ; * lisp/simple.el (line-move-visual): Fix typo. d2ad4ba Do not consider external packages to be removable (Bug#27822) ec0995c * src/alloc.c: Remove obsolete comments. ec6f588 Better support utf-8-with-signature and utf-8-hfs in HTML eb026a8 Don't use -Wabi compiler option
| * Don't use -Wabi compiler optionEli Zaretskii2018-08-111-0/+1
| | | | | | | | | | | | * configure.ac: Add -Wabi to the list of disabled warning options. For the details, see http://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00123.html.
* | * configure.ac (GMP_LIB): Set to -lgmp if --without-mini-gmp.Paul Eggert2018-08-121-1/+1
| |
* | Make mini-gmp safe for --enable-gcc-warningsPaul Eggert2018-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | * configure.ac (GMP_OBJ): When building mini-gmp, compile mini-gmp-emacs.c, not mini-gmp.c. * lib-src/etags.c (NDEBUG): Don't attempt to redefine, in case the builder compiles with -DNDEBUG. * src/conf_post.h (NDEBUG) [!ENABLE_CHECKING && !NDEBUG]: Define. This avoids bloat in mini-gmp-emacs.o. * src/mini-gmp-emacs.c: New file, which pacifies --enable-gcc-warnings.
* | New 'configure' arg --with-mini-gmpPaul Eggert2018-08-121-11/+24
| | | | | | | | | | * configure.ac: It lets the builder override default of whther mini-gmp is used. Use AC_SEARCH_LIBS as per Autoconf manual.
* | Reject old libgmp that lack mpz_roinit_nPaul Eggert2018-08-111-1/+1
| | | | | | | | | | * configure.ac (HAVE_GMP): Port to RHEL 6.9, which has libgmp 3.5, which predates mpz_roinit_n.
* | Merge remote-tracking branch 'origin/master' into feature/bignumTom Tromey2018-08-091-3/+4
|\ \
| * | Substitute a <ieee754.h> on hosts lacking itPaul Eggert2018-08-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .gitignore: Add lib/ieee754.h. * admin/merge-gnulib (GNULIB_MODULES): Add ieee754-h. * configure.ac: Remove ieee754.h check, as Gnulib now does that. * etc/NEWS: Mention this. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/ieee754.in.h, m4/ieee754-h.m4: New files, from Gnulib. * src/lisp.h (IEEE_FLOATING_POINT): Now a macro so that it can be used in #if. * src/lread.c, src/print.c: Include <ieee754.h> if IEEE_FLOATING_POINT, not if HAVE_IEEE754_H. * src/lread.c (string_to_number): * src/print.c (float_to_string): Process NaNs only on IEEE hosts, and assume <ieee754.h> in that case.
| * | Read and print NaN significand if <ieee754.h>Paul Eggert2018-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for ieee754.h. * doc/lispref/numbers.texi (Float Basics): Document that NaN string representation digits are machine-dependent. * etc/NEWS: Mention the change. * src/lread.c, src/print.c [HAVE_IEEE754_H]: Include ieee754.h. * src/lread.c (string_to_number) [HAVE_IEEE754_H]: * src/print.c (float_to_string) [HAVE_IEEE754_H]: Read and print NaN significand.
| * | * configure.ac [$HAVE_NS]: Correct build instructions.Charles A. Roelli2018-07-161-3/+4
| | | | | | | | | | | | | | | Running 'make install' to test a repo build on macOS used to be required, but is no longer needed.
* | | Add GMP to emacs_config_featuresRobert Pluim2018-07-131-1/+1
| | | | | | | | | | | | | | | * configure.ac : Add GMP to emacs_config_features. This allows us to determine whether the built-in gmp-mini is being used or not.
* | | Add configury for GMP libraryTom Tromey2018-07-121-0/+15
|/ / | | | | | | | | | | | | | | | | * configure.ac (GMP_LIB, GMP_OBJ): New substs. * src/Makefile.in (GMP_OBJ, GMP_OBJ): New variables. (base_obj): Add GMP_OBJ. (LIBES): Add GMP_LIB. * src/mini-gmp.h: New file. * src/mini-gmp.c: New file.
* | Adjust to Gnulib change with -Wswitch-defaultPaul Eggert2018-07-031-1/+0
| | | | | | | | | | * configure.ac: Simplify by not bothering to omit -Wswitch-default, as Gnulib no longer enables it by default.
* | Minor CANNOT_DUMP cleanupsPaul Eggert2018-06-151-54/+62
| | | | | | | | | | | | | | | | | | | | Mostly, this avoids munging executables when CANNOT_DUMP = yes, as the munging is needed only for unexec. * configure.ac (PAXCTL_dumped, PAXCTL_notdumped) [CANNOT_DUMP]: Leave these empty. (LD_SWITCH_SYSTEM_TEMACS) [CANNOT_DUMP]: Do not append -no-pie or -nopie. * src/alloc.c (my_heap_start) [CANNOT_DUMP]: Omit; not used.
* | Remove old combreloc hackPaul Eggert2018-06-151-35/+0
| | | | | | | | | | | | | | | | | | It has not been needed for many years and gets in the way of portable dumping, address sanitization, etc. See: https://lists.gnu.org/r/emacs-devel/2016-12/msg00147.html * configure.ac (LDFLAGS_NOCOMBRELOC, emacs_cv_znocombreloc): Remove. All uses removed. * etc/PROBLEMS: Remove discussion of combreloc problems.
* | Merge from origin/emacs-26Glenn Morris2018-06-021-2/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ca3f0a8 ; * etc/NEWS: Belated announcement of 2 changes made in Emacs... 99f92da Improve documentation of 'directory-files-and-attributes' df8649a * lisp/gnus/message.el (message-remove-header): Don't remove ... b682a7e ; * etc/NEWS: Add headings for Emacs 26.2 aa175a4 Adapt hexl-mode to native line-number display b8e7749 Fix example in Tramp manual f212fe5 Handle case where Xft is found but not XRender 186280f * doc/misc/tramp.texi (Frequently Asked Questions): Adapt zsh... 24ba633 Improve read-multiple-choice docstring (Bug#31628) Conflicts: etc/NEWS src/dired.c
| * Handle case where Xft is found but not XRenderRobert Pluim2018-05-291-2/+5
| | | | | | | | | | * configure.ac (XFT_LIBS): Ensure that HAVE_XFT is no if XRender is not found. (Bug#31634)
| * Bump Emacs version to 26.1.50Eli Zaretskii2018-05-281-1/+1
| | | | | | | | | | | | | | * msdos/sed2v2.inp: * nt/README.W32: * configure.ac: * README: Bump Emacs version to 26.1.50.
| * Bump Emacs version to 26.1Nicolas Petton2018-04-051-1/+1
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.1.
* | GNOME moved URLs for its active bug reportsPaul Eggert2018-05-261-1/+1
| | | | | | | | | | | | | | * src/emacs.c (main) [USE_GTK]: * src/gtkutil.c (xg_display_close): * src/xterm.c (x_connection_closed): Update GNOME bug report URLs.
* | Port --enable-gcc-warnings to GCC 8Paul Eggert2018-04-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Do not use GCC 8’s new -Wcast-align flag. * lib-src/ebrowse.c (xmalloc): * lib-src/emacsclient.c (xmalloc, xstrdup): * lib-src/etags.c (xmalloc): * lib-src/make-docfile.c (xmalloc): * lib-src/movemail.c (xmalloc): * src/dispnew.c (new_glyph_pool): * src/regex.c (xmalloc): * src/term.c (tty_menu_create): * src/tparam.h (tparam): Use ATTRIBUTE_MALLOC. Also see GCC bug 85562. * lib-src/emacsclient.c (fail): Do not dereference a null pointer. * src/frame.c (delete_frame): Add a decl with UNINIT to work around GCC bug 85563. * src/menu.h (finish_menu_items): Do not use attribute const. * src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
* | * configure.ac (with_gconf): Respect --without-all.Glenn Morris2018-02-281-1/+6
| |
* | Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)Noam Postavsky2018-02-171-9/+6
| | | | | | | | | | | | | | * configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than AC_SEARCH_LIBS. * src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure, instead of just LIBLCMS2.
* | Fix modifier key handling on macOSAlan Third2018-02-171-1/+1
| | | | | | | | | | | | | | * configure.ac: Use the Carbon framework on macOS. * src/nsterm.m (ns_get_shifted_character) [NS_IMPL_COCOA]: New function. (EmacsView::keyDown) [NS_IMPL_COCOA]: Use ns_get_shifted_character when we have shift style modifiers.
* | Work if libpng is in /usr/local (2nd try)Paul Eggert2018-02-121-33/+42
| | | | | | | | | | | | | | | | | | Problem reported by Werner Lemberg in: https://lists.gnu.org/r/emacs-devel/2018-02/msg00304.html with a further fix suggested by Glenn Morris in Bug#30431#14. * configure.ac: Try pkg-config before libpng-config. Adjust LIBPNG accordingly, and append -lz regardless of whether it was pkg-config.
* | Revert libpng /usr/local patchPaul Eggert2018-02-121-6/+1
| | | | | | | | | | | | It broke builds on Arch, Debian, OpenSuSE; see thread containing: https://lists.gnu.org/r/2018-02/msg00330.html * configure.ac: Don't try pkg-config; just use libpng-config.
* | Work even if libpng is installed in /usr/localPaul Eggert2018-02-111-1/+6
| | | | | | | | | | | | Problem reported by Werner Lemberg in: https://lists.gnu.org/r/emacs-devel/2018-02/msg00304.html * configure.ac: Try pkg-config before libpng-config.
* | * configure.ac: Improve recent libtof version test.Glenn Morris2018-01-281-2/+1
| |
* | Allow configure to find Homebrew installed imagemagickAlan Third2018-01-271-3/+9
| | | | | | | | | | * configure.ac: Add the imagemagick pkgconfig dir to pkg-config's search path.
* | Workaround a libotf crash with Kannada font (bug#30193)Glenn Morris2018-01-261-0/+5
| | | | | | | | | | | | * configure.ac (HAVE_OTF_KANNADA_BUG): New define. * src/xfaces.c (syms_of_xfaces) <Vface_ignored_fonts>: Add problematic Kannada font if necessary.
* | Merge from origin/emacs-26Glenn Morris2018-01-201-1/+2
|\ \ | |/ | | | | | | | | | | 297dc41 * configure.ac (emacs_config_features): Add threads. Conflicts: configure.ac
| * * configure.ac (emacs_config_features): Add threads.Glenn Morris2018-01-181-1/+2
| |
| * Bump Emacs version to 26.0.91Nicolas Petton2018-01-121-1/+1
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* | Add battery support to all Cygwin buildsKen Brown2018-01-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It already exists in the Cygwin-w32 build. * src/w32fns.c (Fw32_battery_status): Move to... * src/w32cygwinx: New file, to be used for functions common to the MS Windows and Cygwin builds. (syms_of_w32cygwinx): New function. * src/lisp.h: Add prototype of syms_of_w32cygwinx. * src/emacs.c (main) [HAVE_NTGUI or CYGWIN]: Call syms_of_w32cygwinx. * src/Makefile.in (SOME_MACHINE_OBJECTS): * configure.ac (W32_OBJ) [HAVE_W32]: Add w32cygwinx.o. (W32_LIBS) [CYGWIN]: Set equal to "-lkernel32" in non-w32 build. (W32_OBJ) [CYGWIN]: Set equal to "w32cygwinx.o" in non-w32 build. * etc/NEWS: Document the new battery support.