summaryrefslogtreecommitdiffstats
path: root/gl/m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4')
-rw-r--r--gl/m4/gnulib-cache.m44
-rw-r--r--gl/m4/gnulib-comp.m46
-rw-r--r--gl/m4/sha1.m416
3 files changed, 25 insertions, 1 deletions
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4
index 0ac6b96..97b1849 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:
21gl_LOCAL_DIR([]) 21gl_LOCAL_DIR([])
22gl_MODULES([ 22gl_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])
45gl_MAKEFILE_NAME([]) 46gl_MAKEFILE_NAME([])
46gl_MACRO_PREFIX([gl]) 47gl_MACRO_PREFIX([gl])
47gl_PO_DOMAIN([]) 48gl_PO_DOMAIN([])
49gl_VC_FILES([false])
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index e776ae7..f4031cc 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 0000000..0d18d85
--- /dev/null
+++ b/gl/m4/sha1.m4
@@ -0,0 +1,16 @@
1# sha1.m4 serial 9
2dnl Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 Free Software
3dnl Foundation, Inc.
4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved.
7
8AC_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])