aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..26a4f8f
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,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