configure.ac 576 Bytes
Newer Older
Swann Perarnau's avatar
Swann Perarnau committed
1 2 3 4
# see semver.org for version info
AC_INIT([excit],[0.0.1],[brice.videau@imag.fr])

# are we in the right source dir ?
5
AC_CONFIG_SRCDIR([src/excit.h])
Swann Perarnau's avatar
Swann Perarnau committed
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

# build artefacts in separate dir
AC_CONFIG_AUX_DIR([m4])
AC_CONFIG_MACRO_DIR([m4])

# automake should fail on any error
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.12])
AM_PROG_AR

# check for libtool
LT_INIT

# check for programs
AC_LANG([C])
AC_PROG_CC
AC_PROG_CC_STDC
AC_TYPE_SIZE_T
AC_HEADER_ASSERT

AC_CONFIG_HEADERS([src/config.h])

AC_CONFIG_FILES([Makefile
		 src/Makefile
		 tests/Makefile
		 libexcit.pc])
AC_OUTPUT