+dnl CC++ is special (no function to check_lib on
+dnl AC_CHECK_PROG(CCGNU_FOUND, [ccgnu2-config],
+dnl [yes], [no])
+dnl if test x$CCGNU_FOUND = "xyes";
+dnl then
+dnl LDFLAGS="$(ccgnu2-config --libs) $LDFLAGS"
+dnl else
+dnl AC_MSG_ERROR([Please install CommonC++2 1.0 or greater])
+dnl fi
+