1
dnl aclocal.m4 generated automatically by aclocal 1.4
1
dnl aclocal.m4 generated automatically by aclocal 1.4-p6
3
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
3
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4
4
dnl This file is free software; the Free Software Foundation
5
5
dnl gives unlimited permission to copy and/or distribute it,
6
6
dnl with or without modifications, as long as this notice is preserved.
20
20
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
22
AC_DEFUN(AM_INIT_AUTOMAKE,
23
[AC_REQUIRE([AC_PROG_INSTALL])
22
AC_DEFUN([AM_INIT_AUTOMAKE],
23
[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
24
AC_REQUIRE([AC_PROG_INSTALL])
36
37
AC_REQUIRE([AC_ARG_PROGRAM])
37
38
dnl FIXME This is truly gross.
38
39
missing_dir=`cd $ac_aux_dir && pwd`
39
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
40
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
40
41
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
41
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
42
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
42
43
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
43
44
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
44
45
AC_REQUIRE([AC_PROG_MAKE_SET])])
47
# Copyright 2002 Free Software Foundation, Inc.
49
# This program is free software; you can redistribute it and/or modify
50
# it under the terms of the GNU General Public License as published by
51
# the Free Software Foundation; either version 2, or (at your option)
54
# This program is distributed in the hope that it will be useful,
55
# but WITHOUT ANY WARRANTY; without even the implied warranty of
56
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57
# GNU General Public License for more details.
59
# You should have received a copy of the GNU General Public License
60
# along with this program; if not, write to the Free Software
61
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
63
# AM_AUTOMAKE_VERSION(VERSION)
64
# ----------------------------
65
# Automake X.Y traces this macro to ensure aclocal.m4 has been
66
# generated from the m4 files accompanying Automake X.Y.
67
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
69
# AM_SET_CURRENT_AUTOMAKE_VERSION
70
# -------------------------------
71
# Call AM_AUTOMAKE_VERSION so it can be traced.
72
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
73
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
74
[AM_AUTOMAKE_VERSION([1.4-p6])])
47
77
# Check to make sure that the build environment is sane.
50
AC_DEFUN(AM_SANITY_CHECK,
80
AC_DEFUN([AM_SANITY_CHECK],
51
81
[AC_MSG_CHECKING([whether build environment is sane])
89
119
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
90
120
dnl The program must properly implement --version.
91
AC_DEFUN(AM_MISSING_PROG,
121
AC_DEFUN([AM_MISSING_PROG],
92
122
[AC_MSG_CHECKING(for working $2)
93
123
# Run test in a subshell; some versions of sh will print an error if
94
124
# an executable is not found, even if stderr is redirected.
143
173
# program @code{ansi2knr}, which comes with Ghostscript.
146
AC_DEFUN(AM_PROG_CC_STDC,
176
AC_DEFUN([AM_PROG_CC_STDC],
147
177
[AC_REQUIRE([AC_PROG_CC])
148
178
AC_BEFORE([$0], [AC_C_INLINE])
149
179
AC_BEFORE([$0], [AC_C_CONST])
218
248
dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
219
AC_DEFUN(AM_PROG_LEX,
249
AC_DEFUN([AM_PROG_LEX],
220
250
[missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
221
AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex")
251
AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex)