slackbuilds/configure.ac
Ben Walton 6d71fb57ae Add --with-site-start support to configure
The autoconf/automake files now honour --with-site-start to allow
selection of the directory where automatically sourced elisp files are
stored.  The original default is retained.

This switch makes support of non-debian systems easier.  RHEL5, for
example, places these files in /usr/emacs/site-lisp/site-start.d/.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
2010-03-24 10:14:22 +00:00

14 lines
389 B
Text

AC_INIT(magit, 0.8)
AC_CONFIG_SRCDIR([magit.el])
AM_INIT_AUTOMAKE
AC_ARG_WITH([site-start],
AS_HELP_STRING([--with-site-start], [Provide the emacs site-start directory. The default is $(sysconfdir)/emacs/site-start.el.]),
[ SITESTART="$withval" ],
[ SITESTART='$(sysconfdir)/emacs/site-start.d' ])
AC_SUBST([SITESTART])
AC_CONFIG_FILES([Makefile
magit-pkg.el])
AC_OUTPUT