From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- support/ligatex/configure.in | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 support/ligatex/configure.in (limited to 'support/ligatex/configure.in') diff --git a/support/ligatex/configure.in b/support/ligatex/configure.in new file mode 100755 index 0000000000..a22fdca06c --- /dev/null +++ b/support/ligatex/configure.in @@ -0,0 +1,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) -- cgit v1.2.3