From: RĂ©mi Denis-Courmont Date: Tue, 6 Oct 2009 19:03:48 +0000 (+0300) Subject: Don't call AM_CONDITIONAL from macro. X-Git-Tag: 1.1.0-ff~3009 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=46ef2de1ce1ca2b6def58b86fae6dedfb26de24e;p=vlc 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. --- diff --git a/m4/with_pkg.m4 b/m4/with_pkg.m4 index 60b2b05802..7925317df4 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])