I am having the same problem, OSX 10.9.5
made sure i'm using 507
MacBookPro:development lisa$ svn co -r 507 svn://svn.gna.org/svn/cal3d/trunk/cal3d cal3d
which finished with
Checked out revision 507.
removed the requested line 62, then ran autoreconf
MacBookPro:cal3d lisa$ autoreconf --install --force
finishes with
./configure: line 15765: syntax error near unexpected token `UNITTESTCPP,'
./configure: line 15765: ` PKG_CHECK_MODULES(UNITTESTCPP, unittest++ >= 0.1, unittest_enabled="yes", unittest_enabled="no" )'
for giggles I tried running it with the line in it but it gives other warnings