Add an option `--with-addpath' to specify load-path.
[elisp/gnus.git-] / configure.in
1 AC_INIT(lisp/gnus.el)
2 AC_SET_MAKE
3 AC_PROG_INSTALL
4 AM_PATH_LISPDIR
5 AC_PATH_PROG(MAKEINFO, makeinfo, no)
6
7 ADDITIONAL_LOAD_PATH="NONE"
8 AC_ARG_WITH(
9         addpath,
10         [  --with-addpath=PATH     search Emacs-Lisp libraries with PATH
11                           use colons to separate directory names],
12         ADDITIONAL_LOAD_PATH=$with_addpath,
13 )
14 AC_SUBST(ADDITIONAL_LOAD_PATH)
15
16 AC_OUTPUT(Makefile lisp/Makefile lisp/paths.el texi/Makefile)