Imported Upstream version 2.5.2p1
[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   dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.
46   gl_GETADDRINFO
47   gl_INET_NTOP
48   gl_LOCK
49   gl_HEADER_NETINET_IN
50   gl_SIZE_MAX
51   gl_FUNC_SNPRINTF
52   gl_TYPE_SOCKLEN_T
53   AM_STDBOOL_H
54   gl_FUNC_STRDUP
55   gl_HEADER_STRING_H
56   gl_HEADER_SYS_SOCKET
57   AC_PROG_MKDIR_P
58   gl_FUNC_VASNPRINTF
59   gl_VISIBILITY
60   gl_XSIZE
61   m4_popdef([AC_LIBSOURCES])
62   m4_popdef([AC_REPLACE_FUNCS])
63   m4_popdef([AC_LIBOBJ])
64   AC_CONFIG_COMMANDS_PRE([
65     gl_libobjs=
66     gl_ltlibobjs=
67     if test -n "$gl_LIBOBJS"; then
68       # Remove the extension.
69       sed_drop_objext='s/\.o$//;s/\.obj$//'
70       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
71         gl_libobjs="$gl_libobjs $i.$ac_objext"
72         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
73       done
74     fi
75     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
76     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
77   ])
78 ])
79
80 # Like AC_LIBOBJ, except that the module name goes
81 # into gl_LIBOBJS instead of into LIBOBJS.
82 AC_DEFUN([gl_LIBOBJ],
83   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
84
85 # Like AC_REPLACE_FUNCS, except that the module name goes
86 # into gl_LIBOBJS instead of into LIBOBJS.
87 AC_DEFUN([gl_REPLACE_FUNCS],
88   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
89
90 # Like AC_LIBSOURCES, except that it does nothing.
91 # We rely on EXTRA_lib..._SOURCES instead.
92 AC_DEFUN([gl_LIBSOURCES],
93   [])
94
95 # This macro records the list of files which have been installed by
96 # gnulib-tool and may be removed by future gnulib-tool invocations.
97 AC_DEFUN([gl_FILE_LIST], [
98   build-aux/config.rpath
99   lib/alloca_.h
100   lib/asnprintf.c
101   lib/gai_strerror.c
102   lib/getaddrinfo.c
103   lib/getaddrinfo.h
104   lib/gettext.h
105   lib/inet_ntop.c
106   lib/inet_ntop.h
107   lib/lock.c
108   lib/lock.h
109   lib/printf-args.c
110   lib/printf-args.h
111   lib/printf-parse.c
112   lib/printf-parse.h
113   lib/size_max.h
114   lib/snprintf.c
115   lib/snprintf.h
116   lib/socket_.h
117   lib/stdbool_.h
118   lib/strdup.c
119   lib/string_.h
120   lib/vasnprintf.c
121   lib/vasnprintf.h
122   lib/xsize.h
123   m4/absolute-header.m4
124   m4/alloca.m4
125   m4/arpa_inet_h.m4
126   m4/eoverflow.m4
127   m4/extensions.m4
128   m4/getaddrinfo.m4
129   m4/gnulib-common.m4
130   m4/inet_ntop.m4
131   m4/intmax_t.m4
132   m4/inttypes_h.m4
133   m4/lib-ld.m4
134   m4/lib-link.m4
135   m4/lib-prefix.m4
136   m4/lock.m4
137   m4/longdouble.m4
138   m4/longlong.m4
139   m4/netinet_in_h.m4
140   m4/onceonly_2_57.m4
141   m4/size_max.m4
142   m4/snprintf.m4
143   m4/socklen.m4
144   m4/sockpfaf.m4
145   m4/stdbool.m4
146   m4/stdint_h.m4
147   m4/strdup.m4
148   m4/string_h.m4
149   m4/sys_socket_h.m4
150   m4/vasnprintf.m4
151   m4/visibility.m4
152   m4/wchar_t.m4
153   m4/wint_t.m4
154   m4/xsize.m4
155 ])