diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..c6a74a3 --- /dev/null +++ b/configure.ac @@ -0,0 +1,23 @@ +AC_INIT([liburtc], [1.0.0], [chris@hiszpanski.name]) + +# 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 |