Posted on Nov 11, 2013

In the past, passing –without-x-toolkit to the configure script for emacs was sufficient to get it to omit window system support from the build. Maybe this still works elsewhere but on my new work box running Wheezy, I still get a build with X. This works though:

./configure --prefix=$HOME \
    --with-xpm=no \
    --with-jpeg=no \
    --with-png=no \
    --with-tiff=no \
    --with-gif=no \
    --with-x-toolkit=no \