blob: 8aaf093c59cda306daf9763254f57b1e81e4083b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
AC_INIT([liburtc], [1.0.0], [chris@liburtc.org])
# custom m4 macros within m4/ subdirectory
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dependencies subdir-objects])
AC_PROG_CC
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LIBOBJ_DIR([src])
# for pthread support on linux
AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])])
AM_PROG_AR
LT_INIT
AC_CONFIG_FILES([
Makefile
examples/Makefile
src/Makefile
tests/Makefile
])
AC_OUTPUT
|