diff -ruN gnupg-2.2.28-orig/configure gnupg-2.2.28/configure --- gnupg-2.2.28-orig/configure 2021-06-10 11:58:46.000000000 -0500 +++ gnupg-2.2.28/configure 2021-06-12 05:29:45.000000000 -0500 @@ -10639,10 +10639,13 @@ #include #endif +int rc; +LDAP *ld; + int main () { -ldap_open("foobar",1234); +rc = ldap_create(&ld); ; return 0; }