-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
36 lines (27 loc) · 1.09 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.57])
AC_INIT([validate-args],[1.5.9],[https://bitbucket.org/djerius/validate.args/issues],[validate-args], [https://bitbucket.org/djerius/validate.args])
AM_INIT_AUTOMAKE([ check-news subdir-objects silent-rules color-tests parallel-tests ])
AC_SUBST( ROCKSPEC_VERSION, 1 )
AC_SUBST( ROCKSPEC_FILE_NAME,[AC_PACKAGE_NAME-AC_PACKAGE_VERSION-${ROCKSPEC_VERSION}.rockspec] )
AC_CONFIG_SRCDIR([src/validate/args.lua])
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
MST_CHECK_LUA([5.1],[5.2])
AC_PROG_INSTALL
MST_POD_GEN_DOCS
MST_TESTDEP_SETUP
AC_PATH_PROG(BUSTED,busted)
MST_TESTDEP_TEST( [test -n "$BUSTED"],[Missing test dependency, 'busted' ])
MST_PROG_LUA_MODULES([
busted
]
, ,
[ MST_TESTDEP_FLAG([no], [missing required Lua modules])]
)
MST_TESTDEP_STATUS
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES(${ROCKSPEC_FILE_NAME}:rockspec.in)
AC_OUTPUT