* themes/light-blue-theme.el: New file.
[emacs.git] / m4 / gl-comp.m4
blob4bd213cdbd5ec9e706d50546dfd968762f57ee64
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
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.
10 # Generated by gnulib-tool.
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.
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],
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 arg-nonnull:
30   # Code from module c++defs:
31   # Code from module dtoastr:
32   # Code from module extensions:
33   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
34   # Code from module getopt-gnu:
35   # Code from module getopt-posix:
36   # Code from module gettext-h:
37   # Code from module ignore-value:
38   # Code from module include_next:
39   # Code from module intprops:
40   # Code from module mktime:
41   # Code from module multiarch:
42   # Code from module stdbool:
43   # Code from module stddef:
44   # Code from module strftime:
45   # Code from module time:
46   # Code from module time_r:
47   # Code from module unistd:
48   # Code from module warn-on-use:
51 # This macro should be invoked from ./configure.in, in the section
52 # "Check for header files, types and library functions".
53 AC_DEFUN([gl_INIT],
55   AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
56   gl_cond_libtool=false
57   gl_libdeps=
58   gl_ltlibdeps=
59   gl_m4_base='m4'
60   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
61   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
62   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
63   m4_pushdef([gl_LIBSOURCES_LIST], [])
64   m4_pushdef([gl_LIBSOURCES_DIR], [])
65   gl_COMMON
66   gl_source_base='lib'
67   # Code from module arg-nonnull:
68   # Code from module c++defs:
69   # Code from module dtoastr:
70   AC_REQUIRE([gl_C99_STRTOLD])
71   # Code from module extensions:
72   # Code from module getopt-gnu:
73   gl_FUNC_GETOPT_GNU
74   gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
75   # Code from module getopt-posix:
76   gl_FUNC_GETOPT_POSIX
77   # Code from module gettext-h:
78   AC_SUBST([LIBINTL])
79   AC_SUBST([LTLIBINTL])
80   # Code from module ignore-value:
81   AC_REQUIRE([AC_C_INLINE])
82   # Code from module include_next:
83   # Code from module intprops:
84   # Code from module mktime:
85   gl_FUNC_MKTIME
86   gl_TIME_MODULE_INDICATOR([mktime])
87   # Code from module multiarch:
88   gl_MULTIARCH
89   # Code from module stdbool:
90   AM_STDBOOL_H
91   # Code from module stddef:
92   gl_STDDEF_H
93   # Code from module strftime:
94   gl_FUNC_GNU_STRFTIME
95   # Code from module time:
96   gl_HEADER_TIME_H
97   # Code from module time_r:
98   gl_TIME_R
99   gl_TIME_MODULE_INDICATOR([time_r])
100   # Code from module unistd:
101   gl_UNISTD_H
102   # Code from module warn-on-use:
103   # End of code from modules
104   m4_ifval(gl_LIBSOURCES_LIST, [
105     m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
106       for gl_file in ]gl_LIBSOURCES_LIST[ ; do
107         if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
108           echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
109           exit 1
110         fi
111       done])dnl
112       m4_if(m4_sysval, [0], [],
113         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
114   ])
115   m4_popdef([gl_LIBSOURCES_DIR])
116   m4_popdef([gl_LIBSOURCES_LIST])
117   m4_popdef([AC_LIBSOURCES])
118   m4_popdef([AC_REPLACE_FUNCS])
119   m4_popdef([AC_LIBOBJ])
120   AC_CONFIG_COMMANDS_PRE([
121     gl_libobjs=
122     gl_ltlibobjs=
123     if test -n "$gl_LIBOBJS"; then
124       # Remove the extension.
125       sed_drop_objext='s/\.o$//;s/\.obj$//'
126       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
127         gl_libobjs="$gl_libobjs $i.$ac_objext"
128         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
129       done
130     fi
131     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
132     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
133   ])
134   gltests_libdeps=
135   gltests_ltlibdeps=
136   m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
137   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
138   m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
139   m4_pushdef([gltests_LIBSOURCES_LIST], [])
140   m4_pushdef([gltests_LIBSOURCES_DIR], [])
141   gl_COMMON
142   gl_source_base='tests'
143 changequote(,)dnl
144   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
145 changequote([, ])dnl
146   AC_SUBST([gltests_WITNESS])
147   gl_module_indicator_condition=$gltests_WITNESS
148   m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
149   m4_popdef([gl_MODULE_INDICATOR_CONDITION])
150   m4_ifval(gltests_LIBSOURCES_LIST, [
151     m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
152       for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
153         if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
154           echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
155           exit 1
156         fi
157       done])dnl
158       m4_if(m4_sysval, [0], [],
159         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
160   ])
161   m4_popdef([gltests_LIBSOURCES_DIR])
162   m4_popdef([gltests_LIBSOURCES_LIST])
163   m4_popdef([AC_LIBSOURCES])
164   m4_popdef([AC_REPLACE_FUNCS])
165   m4_popdef([AC_LIBOBJ])
166   AC_CONFIG_COMMANDS_PRE([
167     gltests_libobjs=
168     gltests_ltlibobjs=
169     if test -n "$gltests_LIBOBJS"; then
170       # Remove the extension.
171       sed_drop_objext='s/\.o$//;s/\.obj$//'
172       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
173         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
174         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
175       done
176     fi
177     AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
178     AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
179   ])
180   LIBGNU_LIBDEPS="$gl_libdeps"
181   AC_SUBST([LIBGNU_LIBDEPS])
182   LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
183   AC_SUBST([LIBGNU_LTLIBDEPS])
186 # Like AC_LIBOBJ, except that the module name goes
187 # into gl_LIBOBJS instead of into LIBOBJS.
188 AC_DEFUN([gl_LIBOBJ], [
189   AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
190   gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
193 # Like AC_REPLACE_FUNCS, except that the module name goes
194 # into gl_LIBOBJS instead of into LIBOBJS.
195 AC_DEFUN([gl_REPLACE_FUNCS], [
196   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
197   AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
200 # Like AC_LIBSOURCES, except the directory where the source file is
201 # expected is derived from the gnulib-tool parameterization,
202 # and alloca is special cased (for the alloca-opt module).
203 # We could also entirely rely on EXTRA_lib..._SOURCES.
204 AC_DEFUN([gl_LIBSOURCES], [
205   m4_foreach([_gl_NAME], [$1], [
206     m4_if(_gl_NAME, [alloca.c], [], [
207       m4_define([gl_LIBSOURCES_DIR], [lib])
208       m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
209     ])
210   ])
213 # Like AC_LIBOBJ, except that the module name goes
214 # into gltests_LIBOBJS instead of into LIBOBJS.
215 AC_DEFUN([gltests_LIBOBJ], [
216   AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
217   gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
220 # Like AC_REPLACE_FUNCS, except that the module name goes
221 # into gltests_LIBOBJS instead of into LIBOBJS.
222 AC_DEFUN([gltests_REPLACE_FUNCS], [
223   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
224   AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
227 # Like AC_LIBSOURCES, except the directory where the source file is
228 # expected is derived from the gnulib-tool parameterization,
229 # and alloca is special cased (for the alloca-opt module).
230 # We could also entirely rely on EXTRA_lib..._SOURCES.
231 AC_DEFUN([gltests_LIBSOURCES], [
232   m4_foreach([_gl_NAME], [$1], [
233     m4_if(_gl_NAME, [alloca.c], [], [
234       m4_define([gltests_LIBSOURCES_DIR], [tests])
235       m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
236     ])
237   ])
240 # This macro records the list of files which have been installed by
241 # gnulib-tool and may be removed by future gnulib-tool invocations.
242 AC_DEFUN([gl_FILE_LIST], [
243   build-aux/arg-nonnull.h
244   build-aux/c++defs.h
245   build-aux/warn-on-use.h
246   lib/dtoastr.c
247   lib/ftoastr.c
248   lib/ftoastr.h
249   lib/getopt.c
250   lib/getopt.in.h
251   lib/getopt1.c
252   lib/getopt_int.h
253   lib/gettext.h
254   lib/ignore-value.h
255   lib/intprops.h
256   lib/mktime-internal.h
257   lib/mktime.c
258   lib/stdbool.in.h
259   lib/stddef.in.h
260   lib/strftime.c
261   lib/strftime.h
262   lib/time.in.h
263   lib/time_r.c
264   lib/unistd.in.h
265   m4/00gnulib.m4
266   m4/c-strtod.m4
267   m4/extensions.m4
268   m4/getopt.m4
269   m4/gnulib-common.m4
270   m4/include_next.m4
271   m4/mktime.m4
272   m4/multiarch.m4
273   m4/stdbool.m4
274   m4/stddef_h.m4
275   m4/strftime.m4
276   m4/time_h.m4
277   m4/time_r.m4
278   m4/tm_gmtoff.m4
279   m4/unistd_h.m4
280   m4/warn-on-use.m4
281   m4/wchar_t.m4