Source

vcprompt / configure.ac

Full commit
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([vcprompt], [1.1], [vcprompt-devel@googlegroups.com])
AC_CONFIG_SRCDIR([src/fossil.h])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET

# Checks for libraries.
AC_CHECK_LIB(sqlite3, sqlite3_open)

# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h sys/time.h unistd.h])
AC_CHECK_HEADERS([sqlite3.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_MODE_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT32_T

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([dup2 select strchr strdup strerror strstr strtol])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT