annotate m4/gnulib-comp.m4 @ 424:6d87423a979b 3.0-beta2

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