-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.in
executable file
·48 lines (34 loc) · 1.07 KB
/
configure.in
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
42
43
44
45
46
47
48
dnl Process this file with autoconf to produce a configure script.
AC_INIT([FSM_tool], [3.0.0000])
AC_CONFIG_SRCDIR([])
dnl use local config dir for extras
AC_CONFIG_AUX_DIR(config)
dnl we use auto cheader
AM_CONFIG_HEADER(config.h)
dnl Defines the Language - we need gcc linker ...
AC_LANG_C
dnl Auto make
AM_INIT_AUTOMAKE
dnl Provides control over re-making of all auto files
AM_MAINTAINER_MODE
dnl Required for cases make defines a MAKE=make ??? Why
AC_PROG_MAKE_SET
dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_CC
dnl We will use libtool for making ...
AC_PROG_LIBTOOL
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/types.h stdio.h stdlib.h string.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
dnl Checks for library functions.
#AC_CHECK_FUNCS([strchr strstr strtol strtoull regcomp regexec])
CFLAGS_FSMTOOL_COMMON="-Wall -Wswitch -Wunused -Werror -fPIC -fno-strict-aliasing -Wextra -Wunused"
AC_SUBST(CFLAGS_MLAG_COMMON)
dnl Create the following Makefiles
AC_OUTPUT([Makefile])