File: configure.ac

package info (click to toggle)
faucc 20090220-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,356 kB
  • ctags: 2,846
  • sloc: ansic: 38,010; yacc: 1,595; xml: 519; lex: 378; makefile: 120; sh: 101
file content (33 lines) | stat: -rw-r--r-- 600 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
#
# $Id: configure.ac,v 1.3 2009-01-29 10:42:50 potyra Exp $
#
# Copyright (C) 2008-2009 FAUcc Team.
# This program is free software, GPL-2 (or any later version). See COPYING.
#

# Initialize automake.
AC_INIT(faucc, 20090220)
# don't spam /
AC_CONFIG_AUX_DIR(scripts)
AM_INIT_AUTOMAKE

# Check for progs needed.
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LEX
AC_PROG_YACC
AC_CHECK_PROGS(XMLTO, xmlto)
if test -z "$XMLTO"; then
	AC_MSG_ERROR([xmlto not found.])
fi


# We want these Makefiles
AC_CONFIG_FILES([\
	Makefile
	libfaucc/Makefile
	docs/man/Makefile
])

# Finally create the Makefiles.
AC_OUTPUT()