[vlc-devel] commit: Don't call AM_CONDITIONAL from macro. ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Oct 6 21:06:14 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Oct  6 22:03:48 2009 +0300| [46ef2de1ce1ca2b6def58b86fae6dedfb26de24e] | committer: Rémi Denis-Courmont 

Don't call AM_CONDITIONAL from macro.

First, this cannot work properly as the invocation of AM_CONDITIONAL
must be inconditional. Second, this would introduce pointless
automake conditional and thus needlessly slowing down the build system.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46ef2de1ce1ca2b6def58b86fae6dedfb26de24e
---

 m4/with_pkg.m4 |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/m4/with_pkg.m4 b/m4/with_pkg.m4
index 60b2b05..7925317 100644
--- a/m4/with_pkg.m4
+++ b/m4/with_pkg.m4
@@ -96,9 +96,6 @@ PKG_WITH_MODULES([$1],[$3],
          ),
     [$4],[$5])
 
-AM_CONDITIONAL([HAVE_][$1],
-               [test "$AS_TR_SH([with_]enable_arg)" = "yes"])
-
 m4_popdef([module_name])
 m4_popdef([enable_arg])
 




More information about the vlc-devel mailing list