summaryrefslogtreecommitdiff
path: root/emacs/configure
blob: e93eea93028c048b147172c956679cdf9d8886b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env fish
set gcc_version (gcc -dumpversion | string split -f1 .);
sudo apt install -y libgccjit-$gcc_version-dev;
sudo apt install -y build-essential libgnutls28-dev zlib1g-dev libtree-sitter-dev pkgconf libncurses-dev;
./configure \
    --prefix="$HOME/local/emacs" \
    --without-x \
    --without-pgtk \
    --without-ns \
    --with-native-compilation \
    --with-tree-sitter \
    --with-gnutls=ifavailable;