2ad688ed7c
Update the packages/vms/readme file to be current. Also some files for the GNV based build were either missing or needed an update. curl_crtl_init.c is a special file that is run before main() to set up the proper C runtime behavior. generate_vax_transfer.com generates the VAX transfer vector modules from the gnv_libcurl_symbols.opt file. gnv_conftest.c_first is a helper file needed for configure scripts to come up with the expected answers on VMS. gnv_libcurl_symbols.opt is the public symbols for the libcurl shared image. gnv_link_curl.com builds the shared libcurl image and rebuilds other programs to use it. macro32_exactcase.patch is a hack to make a local copy of the VMS Macro32 assembler case sensitive, which is needed to build the VAX transfer modules. report_openssl_version.c is a tool for help verify that the libcurl shared image is being built for a minium version of openssl.
62 lines
2.5 KiB
Plaintext
62 lines
2.5 KiB
Plaintext
/* File: GNV$CONFTEST.C_FIRST
|
|
*
|
|
* $Id$
|
|
*
|
|
* Copyright 2009, John Malmberg
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*
|
|
*/
|
|
|
|
/* This is needed for Configure tests to get the correct exit status */
|
|
void __posix_exit(int __status);
|
|
#define exit(__p1) __posix_exit(__p1)
|
|
|
|
/* Fake pass the test to find a standard ldap routine that we know is */
|
|
/* present on VMS, but with the wrong case for the symbol */
|
|
char ldap_url_parse(void) {return 0;}
|
|
|
|
/* These are to pass the test that does not use headers */
|
|
/* Because configure does an #undef which keeps us from using #define */
|
|
/* char CRYPTO_add_lock(void) {return 0;} */
|
|
char SSL_connnect(void) {return 0;}
|
|
char ENGINE_init(void) {return 0;}
|
|
char RAND_status(void) {return 0;}
|
|
/* char RAND_screen(void) {return 0;} In headers, but not present */
|
|
char RAND_egd(void) {return 0;}
|
|
char CRYPTO_cleanup_all_ex_data(void) {return 0;}
|
|
char SSL_get_shutdown(void) {return 0;}
|
|
char ENGINE_load_builtin_engines (void) {return 0;}
|
|
|
|
/* And these are to pass the test that uses headers. */
|
|
/* Because the HP OpenSSL transfer vectors are currently in Upper case only */
|
|
#pragma message disable macroredef
|
|
#define CRYPTO_add_lock CRYPTO_ADD_LOCK
|
|
#define SSL_connect SSL_CONNECT
|
|
#define ENGINE_init ENGINE_INIT
|
|
#define RAND_status RAND_STATUS
|
|
/* #define RAND_screen RAND_SCREEN */
|
|
#define RAND_egd RAND_EGD
|
|
#define CRYPTO_cleanup_all_ex_data CRYPTO_CLEANUP_ALL_EX_DATA
|
|
#define SSL_get_shutdown SSL_GET_SHUTDOWN
|
|
#define ENGINE_load_builtin_engines ENGINE_LOAD_BUILTIN_ENGINES
|
|
|
|
/* Can not use the #define macro to fix the case on CRYPTO_lock because */
|
|
/* there is a macro CRYPTO_LOCK that is a number */
|
|
|
|
/* After all the work to get configure to pass the CRYPTO_LOCK tests,
|
|
* it turns out that VMS does not have the CRYPTO_LOCK symbol in the
|
|
* transfer vector, even though it is in the header file.
|
|
*/
|
|
|