# include <malloc/malloc.h>
#endif
-#include "src/rrd_config_bottom.h"
+#include "rrd_config_bottom.h"
#endif
])
dnl intl requires our config to be called config.h. indulge it.
AC_CONFIG_COMMANDS_POST([ test -f config.h || ln -s rrd_config.h config.h ])
+dnl bindings use nasty path, just make them happy.
+AC_CONFIG_COMMANDS_POST([ test -f src/rrd_config.h || (cd src/ && ln -s ../rrd_config.h) ])
+AC_CONFIG_COMMANDS_POST([ test -f src/rrd_config_bottom.h || (cd src/ && ln -s ../rrd_config_bottom.h) ])
+
AC_OUTPUT
AC_MSG_CHECKING(in)
gdp->cf=cf_conv(cf);
if (((int)gdp->cf)==-1) {
rrd_set_error("bad CF: %s",cf); return NULL; }
- } else { if (bitscmp(PARSE_CF)) { gdp->cf = (cf_en) -1; }}
+ } else { if (bitscmp(PARSE_CF)) { gdp->cf = (enum cf_en) -1; }}
if ((color)&&(parse_color(color,&(gdp->col)))) { return NULL; }
if ((color2)&&(parse_color(color2,&(gdp->col2)))) { return NULL; }
if (rpn) {gdp->rpn=rpn;}
}
/* convert to enum but handling LINE special*/
- enum gf_en gf = (gf_en) -1;
+ enum gf_en gf = (enum gf_en) -1;
gf=gf_conv(cmd);
if ((int)gf == -1) {
if (strncmp("LINE",cmd,4)==0) {