update configure.ac

This commit is contained in:
c9s 2014-05-12 07:04:07 +08:00
parent 04e741f41a
commit e4fb8b6d31

View file

@ -3,3 +3,22 @@ AC_INIT([r2],[1.4],[yoanlin93@gmail.com],[r2],[http://github.com/c9s/r2])
# AC_CONFIG_SRCDIR(Front/mona.cpp) # AC_CONFIG_SRCDIR(Front/mona.cpp)
# AM_INIT_AUTOMAKE() # AM_INIT_AUTOMAKE()
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
CFLAGS=$CXXFLAGS
AC_SUBST(CFLAGS)
AC_HEADER_STDC
AC_CHECK_HEADERS(stdlib.h string.h sys/time.h unistd.h
,,AC_MSG_ERROR(required header file not found))
dnl ========== checks for typedefs, structures, and compiler characteristics ==========
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_OUTPUT