The new feature should be present in SVN revision 1174561 or higher. It will detect when libcarddav or libcaldav are not present and automatically deactivate the affected resource(s).
Not sure whether I understand correctly. I removed the libcaldav package and rebuilt kdepim. I have libical installed because I understood that the package is a requirement.
FTBFS. Log attached.
Yes, you understood correctly. See these lines in the build log:
checking if caldav resource is allowed... yes checking for libcaldav... not found checking if carddav resource is allowed... yes checking for libcarddav... not found
Those mean that the carddav and caldav resources are disabled.
The build is failing at a point unrelated to libcarddav and libcaldav; let me see what I can do to fix it.
Tim