[folks] Fix syntax errors for the release version of configure.



commit 7c18efd54343ef07bf0c7e431916f310afc152ad
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Sun Nov 14 16:29:40 2010 -0800

    Fix syntax errors for the release version of configure.

 configure.ac |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7f986cc..858844b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -271,15 +271,11 @@ AS_COMPILER_FLAG([-Wstrict-prototypes], [ERROR_CFLAGS="$ERROR_CFLAGS \
 AC_SUBST([ERROR_CFLAGS])
 
 # Vala-related flags
-if test "x$enable_vala" = "xyes" ; then
-        m4_if(folks_released, [1], [],
-              [
-                ERROR_VALAFLAGS="$ERROR_VALAFLAGS --fatal-warnings"
-              ])
+AS_IF([test "x$enable_vala" = "xyes"],
+      [ERROR_VALAFLAGS="$ERROR_VALAFLAGS --fatal-warnings"])
 
-        AC_SUBST([ERROR_INTROSPECTION_SCANNER_ARGS])
-        AC_SUBST([ERROR_VALAFLAGS])
-fi
+AC_SUBST([ERROR_INTROSPECTION_SCANNER_ARGS])
+AC_SUBST([ERROR_VALAFLAGS])
 
 # -----------------------------------------------------------
 # Final output



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]