r3/configure.ac

20 lines
466 B
Plaintext
Raw Normal View History

2014-05-16 18:37:45 -04:00
AC_INIT([r3], 1.0)
2014-05-16 18:40:08 -04:00
AC_CONFIG_HEADERS(config.h)
2014-05-16 19:14:09 -04:00
AC_CONFIG_MACRO_DIR([m4])
2014-05-16 18:37:45 -04:00
AM_INIT_AUTOMAKE
LT_INIT
AC_PROG_CC
2014-05-16 19:14:09 -04:00
# AM_PATH_CHECK()
AM_PATH_CHECK(,[have_check="yes"],
AC_MSG_WARN([Check not found; cannot run unit tests!])
[have_check="no"])
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
2014-05-16 18:37:45 -04:00
PKG_PROG_PKG_CONFIG
2014-05-16 18:44:32 -04:00
PKG_CHECK_MODULES(DEPS, [libpcre check])
AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)
2014-05-16 18:37:45 -04:00
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile)
AC_OUTPUT