annotate m4/gnulib-comp.m4 @ 112305:f31011c088d9

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