scyther/configure.in

37 lines
906 B
Plaintext
Raw Normal View History

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
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR(src)
for top_builddir in . .. ../.. $ac_auxdir $ac_auxdir/..; do
test -f $top_builddir/configure && break
done
AC_PROG_LIBTOOL
2004-05-21 14:19:43 +01:00
dnl find and test the C compiler
AC_PROG_CC
AC_LANG_C
2004-05-21 18:52:06 +01:00
AC_PROG_INSTALL=$ac_aux_dir
2004-05-21 14:19:43 +01:00
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
AC_CHECK_LIB(argtable2, arg_parse,,AC_MSG_ERROR(Scyther requires the argtable2 package (LGPL). Get it from http://argtable.sourceforge.net/))
2004-05-21 14:19:43 +01:00
AC_PROG_YACC
2004-05-21 18:52:06 +01:00
AC_PROG_LEX
#AC_DECL_YYTEXT
2004-05-21 14:19:43 +01:00
VERSION="0.0.1"
2004-05-21 18:52:06 +01:00
AC_SUBST(ac_aux_dir)
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)