summaryrefslogtreecommitdiff
path: root/support/ligatex/configure.in
blob: a22fdca06cc328c8b39b70d7d49138534d6fe512 (plain)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(ligatex.l)

dnl We only want to use flex, not any other lex, because the files in this
dnl distribution are too big for non-flex lex implementations.
AC_CHECK_PROG(LEX, flex, flex, lose)
if test $ac_cv_prog_LEX = lose; then
	echo flex not found
	exit 1
fi

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC

dnl Checks for libraries.

AC_CHECK_LIB(l, main)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

dnl Checks for library functions.

AC_OUTPUT(Makefile)