KADDRESSBOOK_SUBDIR=
KDE_CHECK_HEADER(kaddressbook/xxport.h, KADDRESSBOOK_SUBDIR=kaddressbook-plugins)

if test -z "$KADDRESSBOOK_SUBDIR"; then
  dnl dir will only be compiled conditionally
  DO_NOT_COMPILE="$DO_NOT_COMPILE kaddressbook-plugins"
fi
