]> git.sesse.net Git - vlc/commitdiff
Don't call AM_CONDITIONAL from macro.
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Oct 2009 19:03:48 +0000 (22:03 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Oct 2009 19:03:48 +0000 (22:03 +0300)
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.

m4/with_pkg.m4

index 60b2b05802f2851a852c0e7ea0ed5afe7fe293a2..7925317df4256f5363d61a177bd40de971f5fc3d 100644 (file)
@@ -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])