summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 393f57e01d4951bb164d44ffba7402651a4fcc66 (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
AC_PREREQ([2.60])

AC_INIT([REP], m4_esyscmd([./find-version.sh]), [durand@jsdurand.xyz])

AC_COPYRIGHT([This package is covered by GPL v3.])

AC_CONFIG_AUX_DIR([build-aux])

AM_INIT_AUTOMAKE([subdir-objects])

AM_SILENT_RULES([yes])

dnl AC_CONFIG_SUBDIRS([graph], [receme], [nfa], [repcore])
dnl AC_CONFIG_SUBDIRS([src])

AC_PATH_PROG([CARGO], [cargo], [notfound])
AS_IF([test "$CARGO" = "notfound"], [AC_MSG_ERROR([cargo is required])])

AC_PATH_PROG([RUSTC], [rustc], [notfound])
AS_IF([test "$RUSTC" = "notfound"], [AC_MSG_ERROR([rustc is required])])

AC_CONFIG_FILES([Makefile src/Makefile])

AC_OUTPUT