comparison m4/gnulib-comp.m4 @ 112303:16ae11ee4ab8

Regenerate. * aclocal.m4, compile, depcomp, lib/Makefile.in, lib/dummy.c: * lib/gnulib.mk, m4/00gnulib.m4, m4/gnulib-cache.m4: * m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, missing: New files, generated automatically, with 'make sync-from-gnulib' followed by 'make'. * configure, lisp/dired.el, src/config.in: Regenerate.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 08 Jan 2011 13:19:44 -0800
parents
children f31011c088d9
comparison
equal deleted inserted replaced
112302:c428fb33aede 112303:16ae11ee4ab8
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
3 #
4 # This file is free software, distributed under the terms of the GNU
5 # General Public License. As a special exception to the GNU General
6 # Public License, this file may be distributed as part of a program
7 # that contains a configuration script generated by Autoconf, under
8 # the same distribution terms as the rest of that program.
9 #
10 # Generated by gnulib-tool.
11 #
12 # This file represents the compiled summary of the specification in
13 # gnulib-cache.m4. It lists the computed macro invocations that need
14 # to be invoked from configure.ac.
15 # In projects that use version control, this file can be treated like
16 # other built files.
17
18
19 # This macro should be invoked from ./configure.in, in the section
20 # "Checks for programs", right after AC_PROG_CC, and certainly before
21 # any checks for libraries, header files, types and library functions.
22 AC_DEFUN([gl_EARLY],
23 [
24 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
25 m4_pattern_allow([^gl_ES$])dnl a valid locale name
26 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
27 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
28 AC_REQUIRE([AC_PROG_RANLIB])
29 # Code from module dummy:
30 ])
31
32 # This macro should be invoked from ./configure.in, in the section
33 # "Check for header files, types and library functions".
34 AC_DEFUN([gl_INIT],
35 [
36 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
37 gl_cond_libtool=false
38 gl_libdeps=
39 gl_ltlibdeps=
40 gl_m4_base='m4'
41 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
42 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
43 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
44 m4_pushdef([gl_LIBSOURCES_LIST], [])
45 m4_pushdef([gl_LIBSOURCES_DIR], [])
46 gl_COMMON
47 gl_source_base='lib'
48 # Code from module dummy:
49 # End of code from modules
50 m4_ifval(gl_LIBSOURCES_LIST, [
51 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
52 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
53 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
54 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
55 exit 1
56 fi
57 done])dnl
58 m4_if(m4_sysval, [0], [],
59 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
60 ])
61 m4_popdef([gl_LIBSOURCES_DIR])
62 m4_popdef([gl_LIBSOURCES_LIST])
63 m4_popdef([AC_LIBSOURCES])
64 m4_popdef([AC_REPLACE_FUNCS])
65 m4_popdef([AC_LIBOBJ])
66 AC_CONFIG_COMMANDS_PRE([
67 gl_libobjs=
68 gl_ltlibobjs=
69 if test -n "$gl_LIBOBJS"; then
70 # Remove the extension.
71 sed_drop_objext='s/\.o$//;s/\.obj$//'
72 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
73 gl_libobjs="$gl_libobjs $i.$ac_objext"
74 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
75 done
76 fi
77 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
78 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
79 ])
80 gltests_libdeps=
81 gltests_ltlibdeps=
82 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
83 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
84 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
85 m4_pushdef([gltests_LIBSOURCES_LIST], [])
86 m4_pushdef([gltests_LIBSOURCES_DIR], [])
87 gl_COMMON
88 gl_source_base='tests'
89 changequote(,)dnl
90 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
91 changequote([, ])dnl
92 AC_SUBST([gltests_WITNESS])
93 gl_module_indicator_condition=$gltests_WITNESS
94 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
95 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
96 m4_ifval(gltests_LIBSOURCES_LIST, [
97 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
98 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
99 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
100 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
101 exit 1
102 fi
103 done])dnl
104 m4_if(m4_sysval, [0], [],
105 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
106 ])
107 m4_popdef([gltests_LIBSOURCES_DIR])
108 m4_popdef([gltests_LIBSOURCES_LIST])
109 m4_popdef([AC_LIBSOURCES])
110 m4_popdef([AC_REPLACE_FUNCS])
111 m4_popdef([AC_LIBOBJ])
112 AC_CONFIG_COMMANDS_PRE([
113 gltests_libobjs=
114 gltests_ltlibobjs=
115 if test -n "$gltests_LIBOBJS"; then
116 # Remove the extension.
117 sed_drop_objext='s/\.o$//;s/\.obj$//'
118 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
119 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
120 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
121 done
122 fi
123 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
124 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
125 ])
126 LIBGNU_LIBDEPS="$gl_libdeps"
127 AC_SUBST([LIBGNU_LIBDEPS])
128 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
129 AC_SUBST([LIBGNU_LTLIBDEPS])
130 ])
131
132 # Like AC_LIBOBJ, except that the module name goes
133 # into gl_LIBOBJS instead of into LIBOBJS.
134 AC_DEFUN([gl_LIBOBJ], [
135 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
136 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
137 ])
138
139 # Like AC_REPLACE_FUNCS, except that the module name goes
140 # into gl_LIBOBJS instead of into LIBOBJS.
141 AC_DEFUN([gl_REPLACE_FUNCS], [
142 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
143 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
144 ])
145
146 # Like AC_LIBSOURCES, except the directory where the source file is
147 # expected is derived from the gnulib-tool parameterization,
148 # and alloca is special cased (for the alloca-opt module).
149 # We could also entirely rely on EXTRA_lib..._SOURCES.
150 AC_DEFUN([gl_LIBSOURCES], [
151 m4_foreach([_gl_NAME], [$1], [
152 m4_if(_gl_NAME, [alloca.c], [], [
153 m4_define([gl_LIBSOURCES_DIR], [lib])
154 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
155 ])
156 ])
157 ])
158
159 # Like AC_LIBOBJ, except that the module name goes
160 # into gltests_LIBOBJS instead of into LIBOBJS.
161 AC_DEFUN([gltests_LIBOBJ], [
162 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
163 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
164 ])
165
166 # Like AC_REPLACE_FUNCS, except that the module name goes
167 # into gltests_LIBOBJS instead of into LIBOBJS.
168 AC_DEFUN([gltests_REPLACE_FUNCS], [
169 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
170 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
171 ])
172
173 # Like AC_LIBSOURCES, except the directory where the source file is
174 # expected is derived from the gnulib-tool parameterization,
175 # and alloca is special cased (for the alloca-opt module).
176 # We could also entirely rely on EXTRA_lib..._SOURCES.
177 AC_DEFUN([gltests_LIBSOURCES], [
178 m4_foreach([_gl_NAME], [$1], [
179 m4_if(_gl_NAME, [alloca.c], [], [
180 m4_define([gltests_LIBSOURCES_DIR], [tests])
181 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
182 ])
183 ])
184 ])
185
186 # This macro records the list of files which have been installed by
187 # gnulib-tool and may be removed by future gnulib-tool invocations.
188 AC_DEFUN([gl_FILE_LIST], [
189 lib/dummy.c
190 m4/00gnulib.m4
191 m4/gnulib-common.m4
192 ])