annotate m4/gnulib-comp.m4 @ 285:9010796c6253 2.3 2.3.1

Generated manual for distribution
author lost
date Fri, 24 Apr 2009 22:36:09 +0000
parents 2cb097e760a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
2 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
3 #
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
4 # This file is free software, distributed under the terms of the GNU
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
5 # General Public License. As a special exception to the GNU General
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
6 # Public License, this file may be distributed as part of a program
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
7 # that contains a configuration script generated by Autoconf, under
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
8 # the same distribution terms as the rest of that program.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
9 #
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
10 # Generated by gnulib-tool.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
11 #
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
12 # This file represents the compiled summary of the specification in
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
13 # gnulib-cache.m4. It lists the computed macro invocations that need
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
14 # to be invoked from configure.ac.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
15 # In projects using CVS, this file can be treated like other built files.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
16
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
17
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
18 # This macro should be invoked from ./configure.ac, in the section
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
19 # "Checks for programs", right after AC_PROG_CC, and certainly before
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
20 # any checks for libraries, header files, types and library functions.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
21 AC_DEFUN([gl_EARLY],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
22 [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
23 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
24 m4_pattern_allow([^gl_ES$])dnl a valid locale name
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
25 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
26 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
27 AC_REQUIRE([AC_PROG_RANLIB])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
28 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
29 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
30
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
31 # This macro should be invoked from ./configure.ac, in the section
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
32 # "Check for header files, types and library functions".
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
33 AC_DEFUN([gl_INIT],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
34 [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
35 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
36 gl_cond_libtool=false
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
37 gl_libdeps=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
38 gl_ltlibdeps=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
39 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
40 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
41 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
42 m4_pushdef([gl_LIBSOURCES_LIST], [])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
43 m4_pushdef([gl_LIBSOURCES_DIR], [])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
44 gl_COMMON
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
45 gl_source_base='lib'
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
46 gl_FUNC_ALLOCA
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
47 gl_ARGP
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
48 m4_ifdef([AM_XGETTEXT_OPTION],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
49 [AM_XGETTEXT_OPTION([--flag=argp_error:2:c-format])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
50 AM_XGETTEXT_OPTION([--flag=argp_failure:4:c-format])])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
51 gl_DIRNAME
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
52 gl_DOUBLE_SLASH_ROOT
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
53 gl_HEADER_ERRNO_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
54 gl_ERROR
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
55 m4_ifdef([AM_XGETTEXT_OPTION],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
56 [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
57 AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
58 gl_EXITFAIL
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
59 gl_FLOAT_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
60 gl_GETOPT
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
61 AC_SUBST([LIBINTL])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
62 AC_SUBST([LTLIBINTL])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
63 gl_INLINE
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
64 AC_FUNC_MALLOC
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
65 AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
66 gl_FUNC_MALLOC_POSIX
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
67 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
68 gl_FUNC_MEMPCPY
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
69 gl_STRING_MODULE_INDICATOR([mempcpy])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
70 gl_MULTIARCH
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
71 gl_FUNC_RAWMEMCHR
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
72 gl_STRING_MODULE_INDICATOR([rawmemchr])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
73 gl_SIZE_MAX
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
74 gl_FUNC_SLEEP
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
75 gl_UNISTD_MODULE_INDICATOR([sleep])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
76 AM_STDBOOL_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
77 gl_STDINT_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
78 gl_STDIO_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
79 gl_STDLIB_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
80 gl_STRCASE
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
81 gl_FUNC_STRCHRNUL
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
82 gl_STRING_MODULE_INDICATOR([strchrnul])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
83 gl_FUNC_STRERROR
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
84 gl_STRING_MODULE_INDICATOR([strerror])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
85 gl_HEADER_STRING_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
86 gl_HEADER_STRINGS_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
87 gl_FUNC_STRNDUP
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
88 gl_STRING_MODULE_INDICATOR([strndup])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
89 gl_FUNC_STRNLEN
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
90 gl_STRING_MODULE_INDICATOR([strnlen])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
91 gl_SYSEXITS
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
92 gl_UNISTD_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
93 gl_FUNC_VASNPRINTF
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
94 gl_FUNC_VSNPRINTF
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
95 gl_STDIO_MODULE_INDICATOR([vsnprintf])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
96 gl_WCHAR_H
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
97 gl_XALLOC
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
98 gl_XSIZE
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
99 gl_XSTRNDUP
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
100 m4_ifval(gl_LIBSOURCES_LIST, [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
101 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
102 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
103 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
104 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
105 exit 1
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
106 fi
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
107 done])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
108 m4_if(m4_sysval, [0], [],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
109 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
110 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
111 m4_popdef([gl_LIBSOURCES_DIR])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
112 m4_popdef([gl_LIBSOURCES_LIST])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
113 m4_popdef([AC_LIBSOURCES])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
114 m4_popdef([AC_REPLACE_FUNCS])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
115 m4_popdef([AC_LIBOBJ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
116 AC_CONFIG_COMMANDS_PRE([
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
117 gl_libobjs=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
118 gl_ltlibobjs=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
119 if test -n "$gl_LIBOBJS"; then
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
120 # Remove the extension.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
121 sed_drop_objext='s/\.o$//;s/\.obj$//'
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
122 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
123 gl_libobjs="$gl_libobjs $i.$ac_objext"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
124 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
125 done
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
126 fi
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
127 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
128 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
129 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
130 gltests_libdeps=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
131 gltests_ltlibdeps=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
132 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
133 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
134 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
135 m4_pushdef([gltests_LIBSOURCES_LIST], [])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
136 m4_pushdef([gltests_LIBSOURCES_DIR], [])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
137 gl_COMMON
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
138 gl_source_base='tests'
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
139 m4_ifval(gltests_LIBSOURCES_LIST, [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
140 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
141 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
142 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
143 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
144 exit 1
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
145 fi
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
146 done])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
147 m4_if(m4_sysval, [0], [],
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
148 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
149 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
150 m4_popdef([gltests_LIBSOURCES_DIR])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
151 m4_popdef([gltests_LIBSOURCES_LIST])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
152 m4_popdef([AC_LIBSOURCES])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
153 m4_popdef([AC_REPLACE_FUNCS])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
154 m4_popdef([AC_LIBOBJ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
155 AC_CONFIG_COMMANDS_PRE([
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
156 gltests_libobjs=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
157 gltests_ltlibobjs=
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
158 if test -n "$gltests_LIBOBJS"; then
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
159 # Remove the extension.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
160 sed_drop_objext='s/\.o$//;s/\.obj$//'
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
161 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
162 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
163 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
164 done
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
165 fi
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
166 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
167 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
168 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
169 LIBGNU_LIBDEPS="$gl_libdeps"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
170 AC_SUBST([LIBGNU_LIBDEPS])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
171 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
172 AC_SUBST([LIBGNU_LTLIBDEPS])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
173 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
174
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
175 # Like AC_LIBOBJ, except that the module name goes
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
176 # into gl_LIBOBJS instead of into LIBOBJS.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
177 AC_DEFUN([gl_LIBOBJ], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
178 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
179 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
180 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
181
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
182 # Like AC_REPLACE_FUNCS, except that the module name goes
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
183 # into gl_LIBOBJS instead of into LIBOBJS.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
184 AC_DEFUN([gl_REPLACE_FUNCS], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
185 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
186 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
187 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
188
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
189 # Like AC_LIBSOURCES, except the directory where the source file is
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
190 # expected is derived from the gnulib-tool parameterization,
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
191 # and alloca is special cased (for the alloca-opt module).
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
192 # We could also entirely rely on EXTRA_lib..._SOURCES.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
193 AC_DEFUN([gl_LIBSOURCES], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
194 m4_foreach([_gl_NAME], [$1], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
195 m4_if(_gl_NAME, [alloca.c], [], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
196 m4_define([gl_LIBSOURCES_DIR], [lib])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
197 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
198 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
199 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
200 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
201
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
202 # Like AC_LIBOBJ, except that the module name goes
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
203 # into gltests_LIBOBJS instead of into LIBOBJS.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
204 AC_DEFUN([gltests_LIBOBJ], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
205 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
206 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
207 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
208
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
209 # Like AC_REPLACE_FUNCS, except that the module name goes
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
210 # into gltests_LIBOBJS instead of into LIBOBJS.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
211 AC_DEFUN([gltests_REPLACE_FUNCS], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
212 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
213 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
214 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
215
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
216 # Like AC_LIBSOURCES, except the directory where the source file is
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
217 # expected is derived from the gnulib-tool parameterization,
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
218 # and alloca is special cased (for the alloca-opt module).
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
219 # We could also entirely rely on EXTRA_lib..._SOURCES.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
220 AC_DEFUN([gltests_LIBSOURCES], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
221 m4_foreach([_gl_NAME], [$1], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
222 m4_if(_gl_NAME, [alloca.c], [], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
223 m4_define([gltests_LIBSOURCES_DIR], [tests])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
224 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
225 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
226 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
227 ])
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
228
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
229 # This macro records the list of files which have been installed by
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
230 # gnulib-tool and may be removed by future gnulib-tool invocations.
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
231 AC_DEFUN([gl_FILE_LIST], [
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
232 build-aux/link-warning.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
233 lib/alloca.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
234 lib/alloca.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
235 lib/argp-ba.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
236 lib/argp-eexst.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
237 lib/argp-fmtstream.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
238 lib/argp-fmtstream.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
239 lib/argp-fs-xinl.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
240 lib/argp-help.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
241 lib/argp-namefrob.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
242 lib/argp-parse.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
243 lib/argp-pin.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
244 lib/argp-pv.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
245 lib/argp-pvh.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
246 lib/argp-xinl.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
247 lib/argp.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
248 lib/asnprintf.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
249 lib/basename.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
250 lib/dirname.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
251 lib/dirname.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
252 lib/errno.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
253 lib/error.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
254 lib/error.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
255 lib/exitfail.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
256 lib/exitfail.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
257 lib/float+.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
258 lib/float.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
259 lib/getopt.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
260 lib/getopt.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
261 lib/getopt1.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
262 lib/getopt_int.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
263 lib/gettext.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
264 lib/intprops.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
265 lib/malloc.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
266 lib/mempcpy.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
267 lib/printf-args.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
268 lib/printf-args.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
269 lib/printf-parse.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
270 lib/printf-parse.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
271 lib/rawmemchr.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
272 lib/rawmemchr.valgrind
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
273 lib/size_max.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
274 lib/sleep.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
275 lib/stdbool.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
276 lib/stdint.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
277 lib/stdio-write.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
278 lib/stdio.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
279 lib/stdlib.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
280 lib/strcasecmp.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
281 lib/strchrnul.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
282 lib/strchrnul.valgrind
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
283 lib/strerror.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
284 lib/string.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
285 lib/strings.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
286 lib/stripslash.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
287 lib/strncasecmp.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
288 lib/strndup.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
289 lib/strnlen.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
290 lib/sysexits.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
291 lib/unistd.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
292 lib/vasnprintf.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
293 lib/vasnprintf.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
294 lib/vsnprintf.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
295 lib/wchar.in.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
296 lib/xalloc-die.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
297 lib/xalloc.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
298 lib/xmalloc.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
299 lib/xsize.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
300 lib/xstrndup.c
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
301 lib/xstrndup.h
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
302 m4/alloca.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
303 m4/argp.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
304 m4/dirname.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
305 m4/dos.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
306 m4/double-slash-root.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
307 m4/errno_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
308 m4/error.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
309 m4/exitfail.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
310 m4/extensions.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
311 m4/float_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
312 m4/getopt.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
313 m4/gnulib-common.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
314 m4/include_next.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
315 m4/inline.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
316 m4/intmax_t.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
317 m4/inttypes_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
318 m4/longlong.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
319 m4/malloc.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
320 m4/mempcpy.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
321 m4/multiarch.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
322 m4/onceonly.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
323 m4/printf.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
324 m4/rawmemchr.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
325 m4/size_max.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
326 m4/sleep.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
327 m4/stdbool.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
328 m4/stdint.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
329 m4/stdint_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
330 m4/stdio_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
331 m4/stdlib_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
332 m4/strcase.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
333 m4/strchrnul.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
334 m4/strerror.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
335 m4/string_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
336 m4/strings_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
337 m4/strndup.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
338 m4/strnlen.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
339 m4/sysexits.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
340 m4/unistd_h.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
341 m4/vasnprintf.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
342 m4/vsnprintf.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
343 m4/wchar.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
344 m4/wchar_t.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
345 m4/wint_t.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
346 m4/xalloc.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
347 m4/xsize.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
348 m4/xstrndup.m4
2cb097e760a5 Added various generated files in prep for release
lost
parents:
diff changeset
349 ])