From 46ef2de1ce1ca2b6def58b86fae6dedfb26de24e Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 6 Oct 2009 22:03:48 +0300 Subject: [PATCH] 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. --- m4/with_pkg.m4 | 3 --- 1 file changed, 3 deletions(-) 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]) -- 2.39.2