1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
# $Id: configure.ac 4748 2008-06-10 04:45:52Z cjm $
AC_PREREQ(2.59)
AC_INIT([[Visual Binary Diff]], [[3.0_beta3]], [[vbindiff AT cjmweb.net]], [[vbindiff]])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([vbindiff.cpp])
AC_CONFIG_HEADER([config.h])
AC_LANG([C++])
AC_REVISION($Revision: 4748 $)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# Checks for libraries.
AC_CHECK_LIB([ncurses], [initscr], ,
[AC_MSG_ERROR([The ncurses library is required])])
AC_CHECK_LIB([panel], [new_panel], ,
[AC_MSG_ERROR([The panel library is required])])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([errno.h fcntl.h limits.h panel.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([atexit memset strchr strerror strrchr strtoul])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
|