diff options
Diffstat (limited to 'gl/m4')
-rw-r--r-- | gl/m4/gnulib-cache.m4 | 4 | ||||
-rw-r--r-- | gl/m4/gnulib-comp.m4 | 6 | ||||
-rw-r--r-- | gl/m4/sha1.m4 | 16 |
3 files changed, 25 insertions, 1 deletions
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4 index 0ac6b969..97b1849b 100644 --- a/gl/m4/gnulib-cache.m4 +++ b/gl/m4/gnulib-cache.m4 | |||
@@ -15,12 +15,13 @@ | |||
15 | 15 | ||
16 | 16 | ||
17 | # Specification in the form of a command-line invocation: | 17 | # Specification in the form of a command-line invocation: |
18 | # gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex timegm vasprintf vsnprintf | 18 | # gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex timegm vasprintf vsnprintf |
19 | 19 | ||
20 | # Specification in the form of a few gnulib-tool.m4 macro invocations: | 20 | # Specification in the form of a few gnulib-tool.m4 macro invocations: |
21 | gl_LOCAL_DIR([]) | 21 | gl_LOCAL_DIR([]) |
22 | gl_MODULES([ | 22 | gl_MODULES([ |
23 | base64 | 23 | base64 |
24 | crypto/sha1 | ||
24 | dirname | 25 | dirname |
25 | floorf | 26 | floorf |
26 | fsusage | 27 | fsusage |
@@ -45,3 +46,4 @@ gl_LIB([libgnu]) | |||
45 | gl_MAKEFILE_NAME([]) | 46 | gl_MAKEFILE_NAME([]) |
46 | gl_MACRO_PREFIX([gl]) | 47 | gl_MACRO_PREFIX([gl]) |
47 | gl_PO_DOMAIN([]) | 48 | gl_PO_DOMAIN([]) |
49 | gl_VC_FILES([false]) | ||
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4 index e776ae70..f4031cc7 100644 --- a/gl/m4/gnulib-comp.m4 +++ b/gl/m4/gnulib-comp.m4 | |||
@@ -36,6 +36,7 @@ AC_DEFUN([gl_EARLY], | |||
36 | # Code from module cloexec: | 36 | # Code from module cloexec: |
37 | # Code from module close-hook: | 37 | # Code from module close-hook: |
38 | # Code from module configmake: | 38 | # Code from module configmake: |
39 | # Code from module crypto/sha1: | ||
39 | # Code from module dirname: | 40 | # Code from module dirname: |
40 | # Code from module dirname-lgpl: | 41 | # Code from module dirname-lgpl: |
41 | # Code from module double-slash-root: | 42 | # Code from module double-slash-root: |
@@ -164,6 +165,8 @@ AC_DEFUN([gl_INIT], | |||
164 | gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) | 165 | gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) |
165 | # Code from module close-hook: | 166 | # Code from module close-hook: |
166 | # Code from module configmake: | 167 | # Code from module configmake: |
168 | # Code from module crypto/sha1: | ||
169 | gl_SHA1 | ||
167 | # Code from module dirname: | 170 | # Code from module dirname: |
168 | gl_DIRNAME | 171 | gl_DIRNAME |
169 | gl_MODULE_INDICATOR([dirname]) | 172 | gl_MODULE_INDICATOR([dirname]) |
@@ -610,6 +613,8 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
610 | lib/safe-read.h | 613 | lib/safe-read.h |
611 | lib/safe-write.c | 614 | lib/safe-write.c |
612 | lib/safe-write.h | 615 | lib/safe-write.h |
616 | lib/sha1.c | ||
617 | lib/sha1.h | ||
613 | lib/size_max.h | 618 | lib/size_max.h |
614 | lib/snprintf.c | 619 | lib/snprintf.c |
615 | lib/sockets.c | 620 | lib/sockets.c |
@@ -738,6 +743,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
738 | m4/safe-read.m4 | 743 | m4/safe-read.m4 |
739 | m4/safe-write.m4 | 744 | m4/safe-write.m4 |
740 | m4/servent.m4 | 745 | m4/servent.m4 |
746 | m4/sha1.m4 | ||
741 | m4/size_max.m4 | 747 | m4/size_max.m4 |
742 | m4/snprintf.m4 | 748 | m4/snprintf.m4 |
743 | m4/sockets.m4 | 749 | m4/sockets.m4 |
diff --git a/gl/m4/sha1.m4 b/gl/m4/sha1.m4 new file mode 100644 index 00000000..0d18d857 --- /dev/null +++ b/gl/m4/sha1.m4 | |||
@@ -0,0 +1,16 @@ | |||
1 | # sha1.m4 serial 9 | ||
2 | dnl Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 Free Software | ||
3 | dnl Foundation, Inc. | ||
4 | dnl This file is free software; the Free Software Foundation | ||
5 | dnl gives unlimited permission to copy and/or distribute it, | ||
6 | dnl with or without modifications, as long as this notice is preserved. | ||
7 | |||
8 | AC_DEFUN([gl_SHA1], | ||
9 | [ | ||
10 | AC_LIBOBJ([sha1]) | ||
11 | |||
12 | dnl Prerequisites of lib/sha1.c. | ||
13 | AC_REQUIRE([gl_BIGENDIAN]) | ||
14 | AC_REQUIRE([AC_C_INLINE]) | ||
15 | : | ||
16 | ]) | ||