diff options
-rw-r--r-- | m4/sha256.m4 | 15 | ||||
-rw-r--r-- | m4/sha512.m4 | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/m4/sha256.m4 b/m4/sha256.m4 new file mode 100644 index 000000000..4284e3fab --- /dev/null +++ b/m4/sha256.m4 @@ -0,0 +1,15 @@ +# sha256.m4 serial 1 +dnl Copyright (C) 2005 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_SHA256], +[ + AC_LIBSOURCES([sha256.c, sha256.h]) + AC_LIBOBJ([sha256]) + + dnl Prerequisites of lib/sha256.c. + AC_REQUIRE([AC_C_BIGENDIAN]) + : +]) diff --git a/m4/sha512.m4 b/m4/sha512.m4 new file mode 100644 index 000000000..b747c9799 --- /dev/null +++ b/m4/sha512.m4 @@ -0,0 +1,15 @@ +# sha512.m4 serial 1 +dnl Copyright (C) 2005 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_SHA512], +[ + AC_LIBSOURCES([sha512.c, sha512.h]) + AC_LIBOBJ([sha512]) + + dnl Prerequisites of lib/sha512.c. + AC_REQUIRE([AC_C_BIGENDIAN]) + : +]) |