aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: 26a4f8fde5fcb64d4c56f9b5a02624851e4f97b0 (plain) (blame)
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
AC_PREREQ([2.71])
AC_INIT([extlib], [1.0.0], [axtlos@disroot.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_MACRO_DIRS([m4])

AC_PROG_CC
AM_PROG_AR

LT_INIT

AC_CHECK_HEADERS([strings.h
		  ctype.h
		  unistd.h
		  stdint.h
		  errno.h])

AC_TYPE_SIZE_T

AC_FUNC_MALLOC

AC_CHECK_FUNC([memset_s], [AC_DEFINE([HAVE_MEMSET_S], [1],
			   [Define if memset_s exists])])

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
  Makefile
  src/Makefile
  extlib.pc
])
AC_OUTPUT