Code

make config.h a symlink to rrd_config.h so that intl/Makefile is happy
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 8 Jun 2009 05:12:26 +0000 (05:12 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 8 Jun 2009 05:12:26 +0000 (05:12 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1857 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/configure.ac

index 2f4be2cd0720f2ab969a9f81406b89aa551813e7..cc033195802179a2722266e7c4b60698e518e319 100644 (file)
@@ -870,6 +870,10 @@ AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([bindings/lua/Makefile])
 
 AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.pl]],[[]])
+
+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 ])
+
 AC_OUTPUT
 
 AC_MSG_CHECKING(in)