1 |
radhermit 12/08/03 00:24:52 |
2 |
|
3 |
Added: coccinelle-1.0.0_rc14-findtool.patch |
4 |
Log: |
5 |
Fix configure method of looking for external tools (bug #429556). |
6 |
|
7 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-util/coccinelle/files/coccinelle-1.0.0_rc14-findtool.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccinelle/files/coccinelle-1.0.0_rc14-findtool.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccinelle/files/coccinelle-1.0.0_rc14-findtool.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: coccinelle-1.0.0_rc14-findtool.patch |
16 |
=================================================================== |
17 |
--- coccinelle-1.0.0-rc14/configure.ac |
18 |
+++ coccinelle-1.0.0-rc14/configure.ac |
19 |
@@ -3,6 +3,8 @@ |
20 |
AC_INIT([coccinelle], m4_esyscmd([cat ./version | tr -d '\n']), [cocci@××××.dk], [], [http://coccinelle.lip6.fr/]) |
21 |
AC_CONFIG_MACRO_DIR([setup]) |
22 |
AC_CONFIG_AUX_DIR([setup]) |
23 |
+AM_INIT_AUTOMAKE |
24 |
+AC_CONFIG_FILES([Makefile]) |
25 |
|
26 |
AC_SUBST([CONFIGURE_FLAGS], ["$*"]) |
27 |
AC_SUBST([COCCI_VERSION], ["$PACKAGE_VERSION"]) |
28 |
--- coccinelle-1.0.0-rc14/setup/cocci.m4 |
29 |
+++ coccinelle-1.0.0-rc14/setup/cocci.m4 |
30 |
@@ -285,7 +285,7 @@ |
31 |
AC_SUBST([$1], [no]) |
32 |
], |
33 |
[dnl find the tool |
34 |
- AC_COCCI_FINDTOOL([$1],[[$]$1]) |
35 |
+ AC_COCCI_FINDTOOL([$1],[$2]) |
36 |
]) |
37 |
|
38 |
AS_IF([test -z "[$]$1" -o "x[$]$1" = xno], |