--- configure	2015-11-30 20:59:48.000000000 -0300
+++ configure.new	2016-02-07 02:35:19.139117408 -0300
@@ -17369,7 +17369,6 @@ else
 fi
 
 
-if test "$enable_event_notification" != "no"; then
 
 
 
@@ -17491,6 +17490,8 @@ $as_echo "no" >&6; }
 	fi
 fi
 
+if test "$enable_event_notification" != "no"; then
+
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JANSSON" >&5
 $as_echo_n "checking for JANSSON... " >&6; }
