Expanding this macro fails on some machines (RHEL6). It expands to
if test <condition>; then

fi

Empty statements are invalid.

Signed-off-by: Peter Hutterer <[email protected]>
---
 aclocal/xorg-gtest.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal/xorg-gtest.m4 b/aclocal/xorg-gtest.m4
index 6efff08..0f6aa85 100644
--- a/aclocal/xorg-gtest.m4
+++ b/aclocal/xorg-gtest.m4
@@ -47,7 +47,7 @@ AC_DEFUN([_CHECK_GTEST],
 
   AS_IF([test "x$have_gtest" = xyes],
         [AC_SUBST(GTEST_CPPFLAGS)]
-        [AC_SUBST(GTEST_SOURCE)])
+        [AC_SUBST(GTEST_SOURCE)] [:])
 ]) # _CHECK_GTEST
 
 # CHECK_XORG_GTEST([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-- 
1.7.10.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to