annotate m4/gnulib-comp.m4 @ 445:7899511b2102 3.0

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