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
40
41
|
# Copyright 2008 Forsslund Systems AB
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
AC_INIT([Forssim],
[0.0.3],
[http://dev.forsslundsystems.se],
[forssim])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(src/config.h)
AM_INIT_AUTOMAKE([dist-bzip2 dist-zip foreign subdir-objects])
#AC_CONFIG_MACRO_DIR([m4])
# config.h include guard
AH_TOP(
[#ifndef ADRILLFORCE_CONFIG_H_INCLUDED
#define ADRILLFORCE_CONFIG_H_INCLUDED])
AH_BOTTOM([#endif // ADRILLFORCE_CONFIG_H_INCLUDED])
# checks for programs
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT
|