configure.ac 1.32 KB
Newer Older
1
## configure.ac: this file is part of MonoBURG.
2
##
3 4 5 6 7 8 9 10 11 12 13
## MonoBURG, an iburg like code generator generator.
##
## Copyright (C) 2001, 2002, 2004, 2005 Ximian, Inc.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
##
## The complete GNU General Public Licence Notice can be found as the
## `NOTICE' file in the root directory.
14

15
## -------------------------------------
16
## Project
17
AC_INIT([MonoBURG], [1.0.3])
18
AM_CONFIG_HEADER([config.h])
19 20 21 22 23 24 25 26 27 28 29 30

## -------------------------------------
## 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.
31
AM_INIT_AUTOMAKE([1.7.5 dist-bzip2 check-news])
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

## -------------------------------------
## 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
54 55
  src/Makefile
  tests/Makefile
56
  man/Makefile
57 58 59 60
])

# Instantiate the output files
AC_OUTPUT