* gpgkeys_hkp.c (main): Show curl or fake-curl version string.
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 16 Apr 2007 22:47:20 +0000 (22:47 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 16 Apr 2007 22:47:20 +0000 (22:47 +0000)
* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.

keyserver/ChangeLog
keyserver/Makefile.am
keyserver/gpgkeys_hkp.c

index 94ee6b6..984ab61 100644 (file)
@@ -1,5 +1,9 @@
 2007-04-16  David Shaw  <dshaw@jabberwocky.com>
 
 2007-04-16  David Shaw  <dshaw@jabberwocky.com>
 
+       * gpgkeys_hkp.c (main): Show curl or fake-curl version string.
+
+       * Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.
+
        * gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename
        all str(n)casecmp to ascii_str(n)casecmp.  We want the
        locale-independent ones here.
        * gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename
        all str(n)casecmp to ascii_str(n)casecmp.  We want the
        locale-independent ones here.
index 3379910..b28fe0d 100644 (file)
@@ -47,8 +47,8 @@ gpgkeys_hkp_SOURCES += curl-shim.c curl-shim.h
 gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
 else
 gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
 gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
 else
 gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
-gpgkeys_curl_LDADD = @LIBCURL@ @GETOPT@
+gpgkeys_curl_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
 gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
 gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
-gpgkeys_hkp_LDADD = @LIBCURL@ @GETOPT@
+gpgkeys_hkp_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
 gpgkeys_finger_CPPFLAGS = @LIBCURL_CPPFLAGS@
 endif
 gpgkeys_finger_CPPFLAGS = @LIBCURL_CPPFLAGS@
 endif
index f936769..1a577a9 100644 (file)
@@ -731,7 +731,7 @@ main(int argc,char *argv[])
   /* Send the response */
 
   fprintf(output,"VERSION %d\n",KEYSERVER_PROTO_VERSION);
   /* Send the response */
 
   fprintf(output,"VERSION %d\n",KEYSERVER_PROTO_VERSION);
-  fprintf(output,"PROGRAM %s\n\n",VERSION);
+  fprintf(output,"PROGRAM %s %s\n\n",VERSION,curl_version());
 
   if(opt->verbose>1)
     {
 
   if(opt->verbose>1)
     {