diff options
Diffstat (limited to 'pkgtools/libnbcompat/files/configure')
-rwxr-xr-x | pkgtools/libnbcompat/files/configure | 84 |
1 files changed, 1 insertions, 83 deletions
diff --git a/pkgtools/libnbcompat/files/configure b/pkgtools/libnbcompat/files/configure index 30a9a7baa55..a5690cb84b5 100755 --- a/pkgtools/libnbcompat/files/configure +++ b/pkgtools/libnbcompat/files/configure @@ -3321,8 +3321,7 @@ done - -for ac_header in md5.h rmd160.h sha1.h sha2.h +for ac_header in md5.h rmd160.h sha1.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -6684,87 +6683,6 @@ else fi -echo "$as_me:$LINENO: checking for SHA256_File" >&5 -echo $ECHO_N "checking for SHA256_File... $ECHO_C" >&6 -if test "${ac_cv_func_SHA256_File+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char SHA256_File (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char SHA256_File (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_SHA256_File) || defined (__stub___SHA256_File) -choke me -#else -char (*f) () = SHA256_File; -#endif -#ifdef __cplusplus -} -#endif - -int -main () -{ -return f != SHA256_File; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_SHA256_File=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_func_SHA256_File=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: $ac_cv_func_SHA256_File" >&5 -echo "${ECHO_T}$ac_cv_func_SHA256_File" >&6 -if test $ac_cv_func_SHA256_File = yes; then - : -else - - LIBOBJS="$LIBOBJS sha2.$ac_objext" - LIBOBJS="$LIBOBJS sha2hl.$ac_objext" - -fi - |