File: configure.in

package info (click to toggle)
c2html 0.7.2-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 192 kB
  • ctags: 50
  • sloc: ansic: 511; lex: 416; sh: 152; makefile: 131
file content (43 lines) | stat: -rw-r--r-- 855 bytes parent folder | download
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(c2html.l)
AC_CONFIG_HEADER(config.h)
VERSION=0.7.2
AC_SUBST(VERSION)
PROJECT_NAME=c2html
AC_SUBST(PROJECT_NAME)

dnl Checks for programs.
dnl AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LEX

dnl Checks for libraries.
AC_CHECK_LIB(fl, yylex)

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

dnl Checks for typedefs, structures, and compiler characteristics.
dnl this sets LEX_OUTPUT_ROOT (flex -> lex.yy)
AC_DECL_YYTEXT

dnl Checks for library functions.
AC_CHECK_FUNCS(strstr)
dnl No longer use this function
dnl AC_CHECK_FUNCS(snprintf)
AC_CHECK_FUNCS(getopt)
AC_CHECK_FUNCS(popen)
AC_CHECK_FUNCS(fileno)

AC_DEFINE_UNQUOTED(VERSION,"$VERSION")
AC_DEFINE_UNQUOTED(PROJECT_NAME,"$PROJECT_NAME")
AC_OUTPUT(Makefile)