3c363607ad367cc6e78c874183217013a949adbc
[debian/amanda] / config / gnulib / gnulib-comp.m4
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2004-2007 Free Software Foundation, Inc.
3 #
4 # This file is free software, distributed under the terms of the GNU
5 # General Public License.  As a special exception to the GNU General
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
9 #
10 # Generated by gnulib-tool.
11 #
12 # This file represents the compiled summary of the specification in
13 # gnulib-cache.m4. It lists the computed macro invocations that need
14 # to be invoked from configure.ac.
15 # In projects using CVS, this file can be treated like other built files.
16
17
18 # This macro should be invoked from ./configure.in, in the section
19 # "Checks for programs", right after AC_PROG_CC, and certainly before
20 # any checks for libraries, header files, types and library functions.
21 AC_DEFUN([gl_EARLY],
22 [
23   m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
24   m4_pattern_allow([^gl_ES$])dnl a valid locale name
25   m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
26   m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
27   AC_REQUIRE([AC_PROG_RANLIB])
28   AC_REQUIRE([AC_GNU_SOURCE])
29   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
30   AC_REQUIRE([gl_LOCK_EARLY])
31 ])
32
33 # This macro should be invoked from ./configure.in, in the section
34 # "Check for header files, types and library functions".
35 AC_DEFUN([gl_INIT],
36 [
37   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
38   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
39   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
40   AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
41   gl_cond_libtool=true
42   gl_source_base='gnulib'
43   gl_FUNC_ALLOCA
44   gl_HEADER_ARPA_INET
45   AC_PROG_MKDIR_P
46   gl_FUNC_BASE64
47   gl_FLOAT_H
48   gl_FSUSAGE
49   gl_GETADDRINFO
50   AC_SUBST([LIBINTL])
51   AC_SUBST([LTLIBINTL])
52   gl_FUNC_GETTIMEOFDAY
53   gl_INET_NTOP
54   gl_LOCK
55   gl_FUNC_MALLOC_POSIX
56   gl_STDLIB_MODULE_INDICATOR([malloc-posix])
57   gt_FUNC_MKDTEMP
58   gl_STDLIB_MODULE_INDICATOR([mkdtemp])
59   gl_HEADER_NETINET_IN
60   AC_PROG_MKDIR_P
61   gl_PHYSMEM
62   gl_SAFE_READ
63   gl_SAFE_WRITE
64   gl_SIZE_MAX
65   gl_FUNC_SNPRINTF
66   gl_STDIO_MODULE_INDICATOR([snprintf])
67   gl_TYPE_SOCKLEN_T
68   gt_TYPE_SSIZE_T
69   AM_STDBOOL_H
70   gl_STDINT_H
71   gl_STDIO_H
72   gl_STDLIB_H
73   gl_FUNC_STRDUP
74   gl_STRING_MODULE_INDICATOR([strdup])
75   gl_HEADER_STRING_H
76   gl_HEADER_SYS_SOCKET
77   AC_PROG_MKDIR_P
78   gl_HEADER_SYS_STAT_H
79   AC_PROG_MKDIR_P
80   gl_HEADER_SYS_TIME_H
81   AC_PROG_MKDIR_P
82   gl_FUNC_GEN_TEMPNAME
83   gl_UNISTD_H
84   gl_FUNC_VASNPRINTF
85   gl_VISIBILITY
86   gl_WCHAR_H
87   gl_XSIZE
88   m4_popdef([AC_LIBSOURCES])
89   m4_popdef([AC_REPLACE_FUNCS])
90   m4_popdef([AC_LIBOBJ])
91   AC_CONFIG_COMMANDS_PRE([
92     gl_libobjs=
93     gl_ltlibobjs=
94     if test -n "$gl_LIBOBJS"; then
95       # Remove the extension.
96       sed_drop_objext='s/\.o$//;s/\.obj$//'
97       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
98         gl_libobjs="$gl_libobjs $i.$ac_objext"
99         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
100       done
101     fi
102     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
103     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
104   ])
105 ])
106
107 # Like AC_LIBOBJ, except that the module name goes
108 # into gl_LIBOBJS instead of into LIBOBJS.
109 AC_DEFUN([gl_LIBOBJ],
110   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
111
112 # Like AC_REPLACE_FUNCS, except that the module name goes
113 # into gl_LIBOBJS instead of into LIBOBJS.
114 AC_DEFUN([gl_REPLACE_FUNCS],
115   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
116
117 # Like AC_LIBSOURCES, except that it does nothing.
118 # We rely on EXTRA_lib..._SOURCES instead.
119 AC_DEFUN([gl_LIBSOURCES],
120   [])
121
122 # This macro records the list of files which have been installed by
123 # gnulib-tool and may be removed by future gnulib-tool invocations.
124 AC_DEFUN([gl_FILE_LIST], [
125   build-aux/config.rpath
126   build-aux/link-warning.h
127   lib/alloca_.h
128   lib/asnprintf.c
129   lib/base64.c
130   lib/base64.h
131   lib/float+.h
132   lib/float_.h
133   lib/fsusage.c
134   lib/fsusage.h
135   lib/full-read.c
136   lib/full-read.h
137   lib/full-write.c
138   lib/full-write.h
139   lib/gai_strerror.c
140   lib/getaddrinfo.c
141   lib/getaddrinfo.h
142   lib/gettext.h
143   lib/gettimeofday.c
144   lib/inet_ntop.c
145   lib/inet_ntop.h
146   lib/lock.c
147   lib/lock.h
148   lib/malloc.c
149   lib/mkdtemp.c
150   lib/netinet_in_.h
151   lib/physmem.c
152   lib/physmem.h
153   lib/printf-args.c
154   lib/printf-args.h
155   lib/printf-parse.c
156   lib/printf-parse.h
157   lib/safe-read.c
158   lib/safe-read.h
159   lib/safe-write.c
160   lib/safe-write.h
161   lib/size_max.h
162   lib/snprintf.c
163   lib/stdbool_.h
164   lib/stdint_.h
165   lib/stdio_.h
166   lib/stdlib_.h
167   lib/strdup.c
168   lib/string_.h
169   lib/sys_socket_.h
170   lib/sys_stat_.h
171   lib/sys_time_.h
172   lib/tempname.c
173   lib/tempname.h
174   lib/unistd_.h
175   lib/vasnprintf.c
176   lib/vasnprintf.h
177   lib/wchar_.h
178   lib/xsize.h
179   m4/absolute-header.m4
180   m4/alloca.m4
181   m4/arpa_inet_h.m4
182   m4/base64.m4
183   m4/eoverflow.m4
184   m4/extensions.m4
185   m4/float_h.m4
186   m4/fsusage.m4
187   m4/getaddrinfo.m4
188   m4/gettimeofday.m4
189   m4/gnulib-common.m4
190   m4/include_next.m4
191   m4/inet_ntop.m4
192   m4/intmax_t.m4
193   m4/inttypes_h.m4
194   m4/lib-ld.m4
195   m4/lib-link.m4
196   m4/lib-prefix.m4
197   m4/lock.m4
198   m4/longlong.m4
199   m4/malloc.m4
200   m4/mkdtemp.m4
201   m4/netinet_in_h.m4
202   m4/onceonly_2_57.m4
203   m4/physmem.m4
204   m4/safe-read.m4
205   m4/safe-write.m4
206   m4/size_max.m4
207   m4/snprintf.m4
208   m4/socklen.m4
209   m4/sockpfaf.m4
210   m4/ssize_t.m4
211   m4/stdbool.m4
212   m4/stdint.m4
213   m4/stdint_h.m4
214   m4/stdio_h.m4
215   m4/stdlib_h.m4
216   m4/strdup.m4
217   m4/string_h.m4
218   m4/sys_socket_h.m4
219   m4/sys_stat_h.m4
220   m4/sys_time_h.m4
221   m4/tempname.m4
222   m4/ulonglong.m4
223   m4/unistd_h.m4
224   m4/vasnprintf.m4
225   m4/visibility.m4
226   m4/wchar.m4
227   m4/wchar_t.m4
228   m4/wint_t.m4
229   m4/xsize.m4
230 ])