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.
46 lines
915 B
46 lines
915 B
AC_PREREQ(2.59)
|
|
AC_INIT(tepal, 0.0.7, georg@steffers.org)
|
|
AC_CONFIG_AUX_DIR([config])
|
|
AC_CONFIG_SRCDIR([src/tepal.c])
|
|
AC_CONFIG_HEADER([config.h])
|
|
AM_INIT_AUTOMAKE
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_MAKE_SET
|
|
AC_LIBTOOL_WIN32_DLL
|
|
AC_PROG_LIBTOOL
|
|
AC_PROG_YACC
|
|
AC_PROG_LEX
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS([libintl.h locale.h stdlib.h string.h unistd.h wchar.h])
|
|
|
|
# Checks for libraries.
|
|
AC_MSG_CHECKING([for Win32])
|
|
case "$host" in
|
|
*-*-mingw*)
|
|
win32="yes, use windows threads"
|
|
;;
|
|
*)
|
|
win32="no"
|
|
;;
|
|
esac
|
|
AC_MSG_RESULT([$win32])
|
|
|
|
AM_CONDITIONAL(WIN32, test "x$win32" != "xno")
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
|
|
# Checks for library functions.
|
|
AC_CHECK_FUNCS([memset setlocale])
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_CONFIG_FILES([src/Makefile])
|
|
AC_CONFIG_FILES([include/Makefile])
|
|
|
|
AC_OUTPUT
|