]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure: FLEXIBLE_ARRAY_MEMBER value was reversed.
authorTimo Sirainen <tss@iki.fi>
Sun, 18 Oct 2009 21:29:16 +0000 (17:29 -0400)
committerTimo Sirainen <tss@iki.fi>
Sun, 18 Oct 2009 21:29:16 +0000 (17:29 -0400)
--HG--
branch : HEAD

configure.in

index 25abac5dd7bb1aa104e74dda6a2617b2052c12da..3c0251766bf86cc4c09eae544ddb891880d40519 100644 (file)
@@ -999,9 +999,9 @@ AC_CACHE_CHECK([if we can use C99-like flexible array members],i_cv_c99_flex_arr
 ])
 
 if test $i_cv_c99_flex_arrays = yes; then
-  flexible_value=1
-else
   flexible_value=
+else
+  flexible_value=1
 fi
 AC_DEFINE_UNQUOTED(FLEXIBLE_ARRAY_MEMBER, $flexible_value, How to define flexible array members in structs)