2004-05-21 18:52:06 +01:00
|
|
|
AC_INIT(src/main.c)
|
2004-05-21 15:01:00 +01:00
|
|
|
AM_INIT_AUTOMAKE(Scyther, 0.2, ccremers@win.tue.nl)
|
2004-05-21 18:52:06 +01:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
AC_CONFIG_SRCDIR(src)
|
|
|
|
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
2004-05-21 14:19:43 +01:00
|
|
|
dnl find and test the C compiler
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_LANG_C
|
|
|
|
|
|
|
|
AC_PROG_MAKE_SET
|
2004-05-21 15:01:00 +01:00
|
|
|
|
|
|
|
# Checks for header files.
|
2004-05-21 14:19:43 +01:00
|
|
|
AC_HEADER_STDC
|
2004-05-21 15:01:00 +01:00
|
|
|
AC_CHECK_HEADERS([limits.h malloc.h stddef.h stdlib.h strings.h unistd.h])
|
|
|
|
# Checks for library functions.
|
|
|
|
AC_FUNC_MALLOC
|
|
|
|
AC_FUNC_REALLOC
|
|
|
|
|
2004-05-21 19:21:50 +01:00
|
|
|
AC_CHECK_LIB(argtable2, arg_parse,,AC_MSG_ERROR(Scyther requires the argtable2 package (LGPL).
|
2004-05-22 13:36:15 +01:00
|
|
|
Get it from http://argtable.sourceforge.net/
|
2004-05-22 13:35:14 +01:00
|
|
|
or make sure that Scyther can find the libraries by setting
|
|
|
|
LD_LIBRARY_PATH correctly.))
|
2004-05-21 14:19:43 +01:00
|
|
|
AC_PROG_YACC
|
2004-05-21 20:18:47 +01:00
|
|
|
AM_PROG_LEX
|
2004-05-21 14:19:43 +01:00
|
|
|
|
|
|
|
VERSION="0.0.1"
|
2004-05-21 20:18:47 +01:00
|
|
|
SUBDIRS=src
|
2004-05-21 14:19:43 +01:00
|
|
|
|
|
|
|
dnl read Makefile.in and write Makefile
|
2004-05-21 18:52:06 +01:00
|
|
|
AC_OUTPUT(Makefile src/Makefile)
|