You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

29 lines
657 B

AC_INIT([modetw],[0.1-alpha],[paumars@protonmail.com])
AM_INIT_AUTOMAKE([-Wall])
AC_PROG_CC
AC_PROG_LIBTOOL
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
tests/Makefile
])
AM_PATH_XML2(2.4.0)
AM_PATH_GLIB_2_0([2.7.1], [ac_glib_test="yes"], [ac_glib_test="no"], [gprintf])
AM_PATH_CHECK()
AC_CHECK_FUNCS([munmap])
AC_CHECK_FUNCS([strstr])
AC_CHECK_HEADERS([fcntl.h])
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_TYPE_SIZE_T
# Find OpenSSL
AX_CHECK_OPENSSL
AC_CHECK_LIB([crypto],[MD5], [], [AC_MSG_ERROR([OpenSSL libraries required])])
AC_CHECK_HEADERS([openssl/md5.h],[],[AC_MSG_ERROR([OpenSSL headers required])])
AC_OUTPUT