From e04dd14bed71407c5b5ec6315f8d6061a9adc398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Thu, 5 Nov 2015 19:22:40 +0000 Subject: [PATCH] md5 support --- C/args.c | 1 + library/system/sys_config.h.cmake | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 library/system/sys_config.h.cmake diff --git a/C/args.c b/C/args.c index 10b60a7dc..2abe696f6 100644 --- a/C/args.c +++ b/C/args.c @@ -119,6 +119,7 @@ Yap_ArgListToVector (Term listl, const param_t *def, int n) if (!na) { free( a ); return NULL; + } na->used = 1; na->tvalue = ArgOfTerm(1, hd); } else { diff --git a/library/system/sys_config.h.cmake b/library/system/sys_config.h.cmake new file mode 100644 index 000000000..1a8cf6027 --- /dev/null +++ b/library/system/sys_config.h.cmake @@ -0,0 +1,31 @@ +/* Define to 1 if you have the header file. */ +#ifndef HAVE_APACHE2_UTIL_MD5_H +#cmakedefine HAVE_APACHE2_UTIL_MD5_H ${HAVE_APACHE2_UTIL_MD5_H} +#endif + +/* Define to 1 if you have the header file. */ +#ifndef HAVE_APR_1_APR_MD5_H +#cmakedefine HAVE_APR_1_APR_MD5_H ${HAVE_APR_1_APR_MD5_H} +#endif + + +/* Define to 1 if you have the header file. */ +#ifndef HAVE_OPENSSL_MD5_H +#cmakedefine HAVE_OPENSSL_MD5_H ${HAVE_OPENSSL_MD5_H} +#endif + +/* Define to 1 if you have the header file. */ +#ifndef HAVE_OPENSSL_RIPEMD_H +#cmakedefine HAVE_OPENSSL_RIPEMD_H ${HAVE_OPENSSL_RIPEMD_H} +#endif + +/* "Define if you have the crypt function." */ +#ifndef HAVE_CRYPT +#cmakedefine HAVE_CRYPT ${HAVE_CRYPT} +#endif + +/* Define to 1 if you have the header file. */ +#ifndef HAVE_CRYPT_H +#cmakedefine HAVE_CRYPT_H ${HAVE_CRYPT_H} +#endif +