_ Use getaddrinfo/getnameinfo ascii wrappers on OS400.
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Thu, 11 Dec 2008 19:20:03 +0000 (19:20 +0000)
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Thu, 11 Dec 2008 19:20:03 +0000 (19:20 +0000)
_ Adjust OS400 make script for non-CVS distributions.
_ Upgrade ILE/RPG binding.
_ Define CURL_HIDDEN_SYMBOLS on OS400, since only CURL_EXTERN-marked symbols are exported.

lib/config-os400.h
packages/OS400/curl.inc.in
packages/OS400/make-include.sh

index 0814773b524d60134cb3f851099804117976984e..3a118796ac06c04a6dd8dfd62d7ee3d5cb1cc6ab 100644 (file)
@@ -82,8 +82,8 @@
 #define HAVE_FCNTL_H
 
 /* Define if getaddrinfo exists and works */
-/* OS400 has no ASCII version of this procedure. */
-#undef HAVE_GETADDRINFO
+/* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */
+#define HAVE_GETADDRINFO
 
 /* Define if you have the `geteuid' function. */
 #define HAVE_GETEUID
 #undef HAVE_STRLCPY
 
 /* Define if you have the <stropts.h> header file. */
-#define HAVE_STROPTS_H
+#undef HAVE_STROPTS_H
 
 /* Define if you have the `strstr' function. */
 #define HAVE_STRSTR
 /* Define if you have a working ioctl SIOCGIFADDR function. */
 #define HAVE_IOCTL_SIOCGIFADDR
 
-/* to disable LDAP */
+/* To disable LDAP */
 #undef CURL_DISABLE_LDAP
 
+/* To avoid external use of library hidden symbols */
+#define CURL_HIDDEN_SYMBOLS
+
+/* External symbols need no special keyword. */
+#define CURL_EXTERN_SYMBOL
+
 /* Define if you have the ldap_url_parse procedure. */
 /* #define HAVE_LDAP_URL_PARSE */    /* Disabled because of an IBM bug. */
 
 /* Define if you have the getnameinfo function. */
-/* OS400 has no ASCII version of this procedure. */
-#undef HAVE_GETNAMEINFO
+/* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */
+#define HAVE_GETNAMEINFO
 
 /* Define to the type qualifier of arg 1 for getnameinfo. */
 #define GETNAMEINFO_QUAL_ARG1 const
index 0a7e5e9be2aec930965546eb9a1efed05c770901..84804ac9d21e13bd7fee5c06ebd2ec0129c5ca9f 100644 (file)
      d CURLAUTH_GSSNEGOTIATE...
      d                 c                   X'00000004'
      d CURLAUTH_NTLM   c                   X'00000008'
-     d CURLAUTH_ANY    c                   X'7FFFFFFF'
+     d CURLAUTH_DIGEST_IE...
+     d                 c                   X'00000010'
+     d CURLAUTH_ANY    c                   X'7FFFFFEF'
      d CURLAUTH_ANYSAFE...
-     d                 c                   X'7FFFFFFE'                          ~CURLAUTH_BASIC
+     d                 c                   X'7FFFFFEE'                          ~CURLAUTH_BASIC
       *
      d CURLSSH_AUTH_ANY...
      d                 c                   X'7FFFFFFF'
index ecbc7e1dbfff12d029043d3856dccf7b2ecf9866..81a16f43c6948d6a798a7da3b138de4c19d0ea05 100644 (file)
@@ -9,10 +9,12 @@ SCRIPTDIR=`dirname "${0}"`
 cd "${TOPDIR}/include"
 
 
-#      Produce the curlbuild.h include file.
+#      Produce the curlbuild.h include file if not yet in distribution (CVS).
 
-if action_needed curl/curlbuild.h curl/curlbuild.h.dist
-then   cp -p curl/curlbuild.h.dist curl/curlbuild.h
+if action_needed curl/curlbuild.h
+then   if action_needed curl/curlbuild.h curl/curlbuild.h.dist
+       then    cp -p curl/curlbuild.h.dist curl/curlbuild.h
+       fi
 fi