forked from indeyets/syck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.in
45 lines (37 loc) · 953 Bytes
/
configure.in
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Process this file with autoconf to produce a configure script.
AC_INIT(syck, 0.70)
AC_CONFIG_AUX_DIR(config)
AC_PREREQ(2.50)
LT_INIT
AC_SUBST([SYCK_SO_VERSION], [0:0:0])
AM_INIT_AUTOMAKE(syck, 0.70)
AM_CONFIG_HEADER(config.h)
# Checks for programs.
AC_PROG_CC_STDC
AC_PROG_INSTALL
AC_PROG_LN_S
# `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
# AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_PROG_AWK
AM_PROG_LEX
AC_PROG_LIBTOOL
AC_CHECK_PROGS(YACC, 'bison -y')
if test "$YACC" != "bison -y"; then
AC_MSG_ERROR([bison not found])
fi
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(alloca.h stdlib.h string.h)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long, 4)
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_VPRINTF
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile
lib/Makefile
tests/Makefile])
AC_OUTPUT