summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-03-20 13:47:39 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-03-20 13:47:39 -0400
commit758c3e1ffdcaa9aec7b85b6104d6ce03632011ec (patch)
treef760a1894f8588f5e6b33724d3bf7339818358b2 /configure.ac
parentb656abc33d2a0235ebf53097be398b04df17e2b6 (diff)
'--without-emacs' configure option
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ce40adb6..633692e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,14 @@ if test [-z $SITELISP]; then
SITELISP=$prefix/share/emacs/site-lisp/urweb-mode
fi
+AC_ARG_WITH([emacs],
+ [AS_HELP_STRING([--without-emacs],
+ [disable installation of Emacs mode])],
+ [],
+ [with_emacs=yes])
+
+AM_CONDITIONAL(USE_EMACS, test "x$with_emacs" = xyes)
+
AC_SUBST(BIN)
AC_SUBST(LIB)
AC_SUBST(INCLUDE)