Mercurial > noffle
comparison aclocal.m4 @ 262:d30f0fe2f4dd noffle
[svn] * aclocal.m4: aclocal upgrade.
author | bears |
---|---|
date | Thu, 04 Jul 2002 21:35:24 +0100 |
parents | ce4dd5d6530b |
children | f3b44be9e4ab |
comparison
equal
deleted
inserted
replaced
261:56404839dd33 | 262:d30f0fe2f4dd |
---|---|
1 dnl aclocal.m4 generated automatically by aclocal 1.4-p4 | 1 dnl aclocal.m4 generated automatically by aclocal 1.4-p5 |
2 | 2 |
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 dnl This file is free software; the Free Software Foundation | 4 dnl This file is free software; the Free Software Foundation |
5 dnl gives unlimited permission to copy and/or distribute it, | 5 dnl gives unlimited permission to copy and/or distribute it, |
6 dnl with or without modifications, as long as this notice is preserved. | 6 dnl with or without modifications, as long as this notice is preserved. |
7 | 7 |
8 dnl This program is distributed in the hope that it will be useful, | 8 dnl This program is distributed in the hope that it will be useful, |
10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 dnl PARTICULAR PURPOSE. | 11 dnl PARTICULAR PURPOSE. |
12 | 12 |
13 # Like AC_CONFIG_HEADER, but automatically create stamp file. | 13 # Like AC_CONFIG_HEADER, but automatically create stamp file. |
14 | 14 |
15 AC_DEFUN(AM_CONFIG_HEADER, | 15 AC_DEFUN([AM_CONFIG_HEADER], |
16 [AC_PREREQ([2.12]) | 16 [AC_PREREQ([2.12]) |
17 AC_CONFIG_HEADER([$1]) | 17 AC_CONFIG_HEADER([$1]) |
18 dnl When config.status generates a header, we must update the stamp-h file. | 18 dnl When config.status generates a header, we must update the stamp-h file. |
19 dnl This file resides in the same directory as the config header | 19 dnl This file resides in the same directory as the config header |
20 dnl that is generated. We must strip everything past the first ":", | 20 dnl that is generated. We must strip everything past the first ":", |
40 # serial 1 | 40 # serial 1 |
41 | 41 |
42 dnl Usage: | 42 dnl Usage: |
43 dnl AM_INIT_AUTOMAKE(package,version, [no-define]) | 43 dnl AM_INIT_AUTOMAKE(package,version, [no-define]) |
44 | 44 |
45 AC_DEFUN(AM_INIT_AUTOMAKE, | 45 AC_DEFUN([AM_INIT_AUTOMAKE], |
46 [AC_REQUIRE([AC_PROG_INSTALL]) | 46 [AC_REQUIRE([AC_PROG_INSTALL]) |
47 PACKAGE=[$1] | 47 PACKAGE=[$1] |
48 AC_SUBST(PACKAGE) | 48 AC_SUBST(PACKAGE) |
49 VERSION=[$2] | 49 VERSION=[$2] |
50 AC_SUBST(VERSION) | 50 AC_SUBST(VERSION) |
68 | 68 |
69 # | 69 # |
70 # Check to make sure that the build environment is sane. | 70 # Check to make sure that the build environment is sane. |
71 # | 71 # |
72 | 72 |
73 AC_DEFUN(AM_SANITY_CHECK, | 73 AC_DEFUN([AM_SANITY_CHECK], |
74 [AC_MSG_CHECKING([whether build environment is sane]) | 74 [AC_MSG_CHECKING([whether build environment is sane]) |
75 # Just in case | 75 # Just in case |
76 sleep 1 | 76 sleep 1 |
77 echo timestamp > conftestfile | 77 echo timestamp > conftestfile |
78 # Do `set' in a subshell so we don't clobber the current shell's | 78 # Do `set' in a subshell so we don't clobber the current shell's |
109 rm -f conftest* | 109 rm -f conftest* |
110 AC_MSG_RESULT(yes)]) | 110 AC_MSG_RESULT(yes)]) |
111 | 111 |
112 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) | 112 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) |
113 dnl The program must properly implement --version. | 113 dnl The program must properly implement --version. |
114 AC_DEFUN(AM_MISSING_PROG, | 114 AC_DEFUN([AM_MISSING_PROG], |
115 [AC_MSG_CHECKING(for working $2) | 115 [AC_MSG_CHECKING(for working $2) |
116 # Run test in a subshell; some versions of sh will print an error if | 116 # Run test in a subshell; some versions of sh will print an error if |
117 # an executable is not found, even if stderr is redirected. | 117 # an executable is not found, even if stderr is redirected. |
118 # Redirect stdin to placate older versions of autoconf. Sigh. | 118 # Redirect stdin to placate older versions of autoconf. Sigh. |
119 if ($2 --version) < /dev/null > /dev/null 2>&1; then | 119 if ($2 --version) < /dev/null > /dev/null 2>&1; then |