]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
do not build rrd_cgi when we have no graph support
authorTobias Oetiker <tobi@oetiker.ch>
Thu, 26 Jun 2014 12:53:08 +0000 (14:53 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 26 Jun 2014 12:53:08 +0000 (14:53 +0200)
configure.ac

index eac4cfdb2c3a6e11c798398a5c42df701e4ce7dc..121ffa9e3a6973fbd2fb390838e94147285d6129 100644 (file)
@@ -102,11 +102,12 @@ AC_DEFINE_UNQUOTED(RRDGRAPH_YLEGEND_ANGLE,${RRDGRAPH_YLEGEND_ANGLE:-90.0},
 AC_ARG_ENABLE(rrdcgi,AS_HELP_STRING([--disable-rrdcgi],[disable building of rrdcgi]),
 [],[enable_rrdcgi=yes])
 
-AM_CONDITIONAL(BUILD_RRDCGI,[test $enable_rrdcgi != no])
-
 AC_ARG_ENABLE(rrd_graph,AS_HELP_STRING([--disable-rrd_graph],[disable all rrd_graph functions]),
 [enable_rrdcgi=no],[enable_rrd_graph=yes])
 
+AM_CONDITIONAL(BUILD_RRDCGI,[test $enable_rrdcgi != no])
+
+
 if test $enable_rrd_graph != no; then
  AC_DEFINE([HAVE_RRD_GRAPH], [], [is rrd_graph supported by this install])
 fi