50 lines
980 B
Plaintext
50 lines
980 B
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
AC_PREREQ([2.60])
|
|
AC_INIT([ltl2ba], [1.1], [paul.gastin@lsv.ens-cachan.fr])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_CONFIG_AUX_DIR([autotools])
|
|
AM_INIT_AUTOMAKE([foreign])
|
|
AC_CONFIG_SRCDIR([main.c])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
#
|
|
# for gnulib
|
|
gl_EARLY
|
|
|
|
AC_PROG_CXX
|
|
AC_PROG_AWK
|
|
AC_PROG_CPP
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AC_PROG_MAKE_SET
|
|
LT_PREREQ(2.2)
|
|
LT_INIT([disable-shared win32-dll])
|
|
AC_PROG_LIBTOOL
|
|
AC_PROG_RANLIB
|
|
|
|
# for gnulib
|
|
gl_INIT
|
|
|
|
AX_TRY_CFLAGS_IFELSE([-W -Wall])
|
|
AX_TRY_CFLAGS_IFELSE([-pipe])
|
|
AX_TRY_CFLAGS_IFELSE([-ansi])
|
|
|
|
# Checks for libraries.
|
|
|
|
# Checks for header files.
|
|
AC_CHECK_HEADERS([stdlib.h string.h sys/time.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
|
|
# Checks for library functions.
|
|
AC_CHECK_FUNCS([memset strlcat])
|
|
|
|
AC_CONFIG_FILES([
|
|
lib/Makefile
|
|
Makefile
|
|
])
|
|
AC_OUTPUT
|