summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 18e80a1eb565d84db374bf7257921e08c8ee3bb6 (plain)
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
dnl -*- Autoconf -*-

AC_INIT(lisparuga, 0.1.1)
AC_CONFIG_SRCDIR(lisparuga)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
AM_SILENT_RULES([yes])

AC_PATH_PROG([GUILE], [guile])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_CONFIG_FILES([scripts/lisparuga], [chmod +x scripts/lisparuga])
AC_CONFIG_FILES([lisparuga/config.scm])

# Prepare a version of $datadir that does not contain references to
# shell variables.
lisparuga_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
lisparuga_datadir="`eval eval echo $datadir | sed -e "s|NONE|$lisparuga_prefix|g"`"
AC_SUBST([lisparuga_datadir])

GUILE_PKG([2.2 2.0])
GUILE_PROGS

GUILE_MODULE_REQUIRED([sly])

AC_OUTPUT