-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure.ac
41 lines (33 loc) · 1.07 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.50])
AC_INIT([rs-colors], [1.1], [[email protected]])
AM_INIT_AUTOMAKE([foreign no-define dist-bzip2])
AC_CONFIG_SRCDIR([rs-colors.asd])
AC_CONFIG_FILES([Makefile \
dictionaries/Makefile \
doc/Makefile \
doc/api/Makefile \
doc/rs-colors-images/Makefile])
dnl Optional features.
AM_MAINTAINER_MODE
ax_lisp_dir="\${datadir}/lisp"
AC_ARG_WITH([lisp-dir], AC_HELP_STRING([--with-lisp-dir=ARG], [use ARG as the top-level installation directory for Lisp files [DATADIR/lisp]]),
[case $withval in
yes | no)
AC_MSG_ERROR([invalid value '$withval' for --with-lisp-dir])
;;
*)
ax_lisp_dir=$withval
;;
esac])
AC_MSG_CHECKING([for top-level installation directory for Lisp files])
AC_MSG_RESULT([$ax_lisp_dir])
lispdir=$ax_lisp_dir
AC_SUBST([lispdir])
AC_SUBST([rs_colorsdir], ['$(lispdir)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)'])
AC_SUBST([PACKAGE_NAME])
AC_SUBST([PACKAGE_VERSION])
AC_SUBST([PACKAGE_STRING])
AC_SUBST([PACKAGE_BUGREPORT])
AC_SUBST([PACKAGE_TARNAME])
AC_OUTPUT