~bzg/org-merge-driver

org-merge-driver/configure.ac -rwxr-xr-x 1007 bytes
b057ec03 — Andrew Young Add test drivers 10 years ago
                                                                                
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
# Process this file with autoconf to produce a configure script.
AC_INIT([org-merge-driver], [0.1], [youngar17@gmail.com])
AC_CONFIG_AUX_DIR([config])
PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],,
			   AC_MSG_WARN([Check is required to run unit tests http://check.sourceforge.net/]))
AM_INIT_AUTOMAKE([-Wall -Werror gnu parallel-tests])

AC_CONFIG_MACRO_DIR([m4])

## Check for programs
AC_PROG_CC   # c compiler
gl_EARLY     # gnu lib
AM_PROG_CC_C_O
AM_PROG_LEX  # flex
if test "x$LEX" != xflex; then
  AC_MSG_WARN([To generate the lexer, Flex is required.  Lexer will not be regenerated.])
  AC_SUBST([LEX],[:])
fi
AC_PROG_YACC # bison
AC_PROG_AWK # ak
AC_REQUIRE_AUX_FILE([tap-driver.sh]) # testing driver

## gnulib macros
gl_INIT

## Check for headers
## Check for typedefs, structures, and compilers characteristics
## Check for library functions

## Output files
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
 Makefile
 src/Makefile
 gnulib/lib/Makefile
 tests/Makefile
 doc/Makefile
])
AC_OUTPUT