Skip to content

Instantly share code, notes, and snippets.

@ralfbergs
Last active October 30, 2025 11:21
Show Gist options
  • Select an option

  • Save ralfbergs/85e6e8d445cca1ec259ba40cb65bd869 to your computer and use it in GitHub Desktop.

Select an option

Save ralfbergs/85e6e8d445cca1ec259ba40cb65bd869 to your computer and use it in GitHub Desktop.
Configure 31.0.50 of GNU Emacs on macOS Tahoe 26.0.1, using Brew
# There were more packages to be installed, but I forgot about them...
% brew install giflib pkgconf
% CPPFLAGS="-I/opt/homebrew/Cellar/libgccjit/15.2.0/include -I/opt/homebrew/Cellar/giflib/5.2.2/include/ -I/opt/homebrew/Cellar/libtiff/4.7.1/include -I/opt/homebrew/Cellar/gnutls/3.8.10/include" LDFLAGS="-L/opt/homebrew/Cellar/libgccjit/15.2.0/lib/gcc/current -L/opt/homebrew/Cellar/giflib/5.2.2/lib -L/opt/homebrew/Cellar/gnutls/3.8.10/lib -L/opt/homebrew/Cellar/libtiff/4.7.1/lib" PKG_CONFIG_PATH="/opt/homebrew/Cellar/gnutls/3.8.10/lib/pkgconfig:/opt/homebrew/Cellar/libtiff/4.7.1/lib/pkgconfig" ./configure
[...]
checking for __mktime_internal... no
checking for timer_getoverrun... no
Configured for 'aarch64-apple-darwin25.0.0'.
Where should the build process find the source code? .
What compiler should emacs be built with? gcc -g3 -O2
Should Emacs use the GNU version of malloc? no
(The GNU allocators don't work with this system configuration.)
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? nextstep
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Is Emacs being built for Android? no
Does Emacs use the X Double Buffer Extension? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? yes
Does Emacs use a gif library? yes -lgif
Does Emacs use a png library? yes -L/opt/homebrew/opt/libpng/lib -lpng16
Does Emacs use -lrsvg-2? yes
Does Emacs use -lwebp? yes
Does Emacs use -lsqlite3? yes
Does Emacs use cairo? no
Does Emacs use -llcms2? yes
Does Emacs use imagemagick? no
Does Emacs use native APIs for images? yes (ns)
Does Emacs support sound? no
Does Emacs use -lgpm? no
Does Emacs use -ldbus? no
Does Emacs use -lgconf? no
Does Emacs use GSettings? no
Does Emacs use a file notification library? yes (kqueue)
Does Emacs use access control lists? yes
Does Emacs use -lselinux? no
Does Emacs use -lgnutls? yes
Does Emacs use -lxml2? yes
Does Emacs use -lfreetype? no
Does Emacs use HarfBuzz? no
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? no
Does Emacs use -lxft? no
Does Emacs use -lsystemd? no
Does Emacs use -ltree-sitter? no
Does Emacs use the GMP library? no
Does Emacs directly use zlib? yes
Does Emacs have dynamic modules support? yes
Does Emacs use toolkit scroll bars? yes
Does Emacs support Xwidgets? no
Does Emacs have threading support in lisp? yes
Does Emacs support the portable dumper? yes
Which dumping strategy does Emacs use? pdumper
Does Emacs have native lisp compiler? yes
Does Emacs use version 2 of the X Input Extension? no
Does Emacs generate a smaller-size Japanese dictionary? no
Run 'make' to build Emacs, then run 'src/emacs' to test it.
Run 'make install' in order to build an application bundle.
The application will go to nextstep/Emacs.app and can be run or moved
from there.
The application will be fully self-contained.
configure: creating ./config.status
config.status: creating src/verbose.mk
config.status: creating src/emacs-module.h
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Info.plist
config.status: creating nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating test/Makefile
config.status: creating test/manual/noverlay/Makefile
config.status: creating test/infra/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating java/Makefile
config.status: creating cross/Makefile
config.status: creating java/AndroidManifest.xml
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: WARNING: This configuration installs a 'movemail' program
that does not retrieve POP3 email. By default, Emacs 25 and earlier
installed a 'movemail' program that retrieved POP3 email via only
insecure channels, a practice that is no longer recommended but that
you can continue to support by using './configure --with-pop'.
configure: You might want to install GNU Mailutils
<https://mailutils.org> and use './configure --with-mailutils'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment