summaryrefslogtreecommitdiff
path: root/configure.ac
blob: fe765e697d9bd443cfd2ce14e7b8b60a4519d933 (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([graph])

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 graph/Makefile nfa/Makefile])

AC_OUTPUT