摘要:
cppunit默认安装目录是/usr/local,执行autoreconf -if会报错warning: macro `AM_PATH_CPPUNIT' not found in librarycppunit.m4默认在/usr/local/share/aclocal目录下,但aclocal在/usr/share/aclocal-$VERSION和/usr/share/aclocal两个目录下寻找,aclocal认为cppunit配置安装时使用--prefix=/usr指定了/usr目录,实际上默认是/usr/local/解决方法:1.设置ACLOCALACLOCAL="ac 阅读全文