root / trunk / configure.in

Revision 301, 0.8 kB (checked in by indeyets, 5 months ago)

forced configure to check for bison, as yacc does not work for us

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# Process this file with autoconf to produce a configure script.
2AC_INIT(syck, 0.61)
3AC_CONFIG_AUX_DIR(config)
4AC_PREREQ(2.50)
5
6AM_INIT_AUTOMAKE(syck, 0.61)
7AM_CONFIG_HEADER(config.h)
8
9# Checks for programs.
10AC_PROG_CC_STDC
11AC_PROG_INSTALL
12AC_PROG_LN_S
13AC_PROG_RANLIB
14AC_PROG_MAKE_SET
15AC_PROG_AWK
16AM_PROG_LEX
17
18AC_CHECK_PROGS(YACC, 'bison -y')
19if test "$YACC" != "bison -y"; then
20  AC_MSG_ERROR([bison not found])
21fi
22
23# Checks for libraries.
24
25# Checks for header files.
26AC_HEADER_STDC
27AC_CHECK_HEADERS(alloca.h stdlib.h string.h)
28AC_CHECK_SIZEOF(int, 4)
29AC_CHECK_SIZEOF(long, 4)
30
31# Checks for typedefs, structures, and compiler characteristics.
32
33# Checks for library functions.
34AC_FUNC_MALLOC
35AC_FUNC_VPRINTF
36
37AC_CONFIG_FILES([Makefile
38                 lib/Makefile
39                 tests/Makefile])
40AC_OUTPUT
Note: See TracBrowser for help on using the browser.