Drop unnecessary call to libgcrypt-config libgcrypt-config has been dropped in libgcrypt 1.11, the call here is unnecessary on Debian (headers in /usr/include). . The whole code snippet is a little bit strange since it allows searching for libgcrypt headers in a standard location while requiring that the library itself can be found in a standard location.
Upstream intended for autorelink to be enabled by default. However the default shared memory segment for autorelink is 93MiB, much greater than the system default of 32MiB. Users who wish to enable autorelink must increase the value of shmmax.
Build, but do not install the reference encryption plugins due to licensing conflicts between the AGPL and the OpenSSL license. Reference plugins are built simply to ensure that they could compile on the target system provided the correct libraries are installed. Upstream will pursue alternate encryption libraries, but there are no plans for this at the moment.