configure.ac 924 Bytes
Newer Older
1
2
3
4
5
6
## ----------------------------------------------------------------------------
## Configure MonoBURG, an IBurg-like code generator generator
##

## ------------------------------------- 
## Project
7
AC_INIT([MonoBURG], [1.0.2])
8
AM_CONFIG_HEADER([config.h])
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
40
41
42
43
44
45
46
47

## -------------------------------------
## Setup autotools

# Need autoconf 2.57 at least.
AC_PREREQ([2.57])

# Auxiliary files.
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_FILES([config/Makefile])

# Initiate automake.
AM_INIT_AUTOMAKE([foreign 1.7.5 dist-bzip2])

## -------------------------------------
## Development tools

# Look for a C compiler
AC_PROG_CC

# Look for a yacc-like program
AC_PROG_YACC

## -------------------------------------
## Environment

# Check for GLIB-2.0 presence
AM_PATH_GLIB_2_0

## -------------------------------------
## Epilogue

# Ask for Makefile creation
AC_CONFIG_FILES([
  Makefile
])

# Instantiate the output files
AC_OUTPUT