diff options
Diffstat (limited to '.local/bin/emacs-build')
| -rwxr-xr-x | .local/bin/emacs-build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.local/bin/emacs-build b/.local/bin/emacs-build index 31a79ec..cc978e0 100755 --- a/.local/bin/emacs-build +++ b/.local/bin/emacs-build @@ -3,7 +3,11 @@ set -eux make="make -j$(nproc --all)" -configure_flags="--with-xwidgets --with-cairo --with-gconf" +configure_flags=( + --with-cairo + --with-gconf + --with-xinput2 +) if ! test -f Makefile then @@ -17,13 +21,13 @@ check-config () return 1 fi - local pattern='#define EMACS_CONFIG_OPTIONS "'${configure_flags}'"' + local pattern="#define EMACS_CONFIG_OPTIONS \"${configure_flags[@]}\"" grep "${pattern}" src/config.h } if ! check-config then - ./configure ${configure_flags} + ./configure "${configure_flags[@]}" fi ${make} "$@" |
