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/branches/1.3/program@1857 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index d9867f0a05c9b34bed1fd37cb28be850dd5c1514..936d4fdf401acfd1bce76667ab80756fe77e7824 100644 (file)
@@ -703,6 +703,10 @@ AC_CONFIG_FILES([bindings/tcl/ifOctets.tcl])
 AC_CONFIG_FILES([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)