OLD | NEW |
1 # DO NOT EDIT! GENERATED AUTOMATICALLY! | 1 # DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 # Copyright (C) 2002-2011 Free Software Foundation, Inc. | 2 # Copyright (C) 2002-2012 Free Software Foundation, Inc. |
3 # | 3 # |
4 # This file is free software, distributed under the terms of the GNU | 4 # This file is free software; you can redistribute it and/or modify |
5 # General Public License. As a special exception to the GNU General | 5 # it under the terms of the GNU General Public License as published by |
6 # Public License, this file may be distributed as part of a program | 6 # the Free Software Foundation; either version 3 of the License, or |
7 # that contains a configuration script generated by Autoconf, under | 7 # (at your option) any later version. |
| 8 # |
| 9 # This file is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. |
| 13 # |
| 14 # You should have received a copy of the GNU General Public License |
| 15 # along with this file. If not, see <http://www.gnu.org/licenses/>. |
| 16 # |
| 17 # As a special exception to the GNU General Public License, |
| 18 # this file may be distributed as part of a program that |
| 19 # contains a configuration script generated by Autoconf, under |
8 # the same distribution terms as the rest of that program. | 20 # the same distribution terms as the rest of that program. |
9 # | 21 # |
10 # Generated by gnulib-tool. | 22 # Generated by gnulib-tool. |
11 # | 23 # |
12 # This file represents the compiled summary of the specification in | 24 # This file represents the compiled summary of the specification in |
13 # gnulib-cache.m4. It lists the computed macro invocations that need | 25 # gnulib-cache.m4. It lists the computed macro invocations that need |
14 # to be invoked from configure.ac. | 26 # to be invoked from configure.ac. |
15 # In projects using CVS, this file can be treated like other built files. | 27 # In projects that use version control, this file can be treated like |
| 28 # other built files. |
16 | 29 |
17 | 30 |
18 # This macro should be invoked from ./configure.ac, in the section | 31 # This macro should be invoked from ./configure.ac, in the section |
19 # "Checks for programs", right after AC_PROG_CC, and certainly before | 32 # "Checks for programs", right after AC_PROG_CC, and certainly before |
20 # any checks for libraries, header files, types and library functions. | 33 # any checks for libraries, header files, types and library functions. |
21 AC_DEFUN([gl_EARLY], | 34 AC_DEFUN([gl_EARLY], |
22 [ | 35 [ |
23 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace | 36 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace |
24 m4_pattern_allow([^gl_ES$])dnl a valid locale name | 37 m4_pattern_allow([^gl_ES$])dnl a valid locale name |
25 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable | 38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable |
26 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable | 39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable |
27 AC_REQUIRE([AC_PROG_RANLIB]) | 40 AC_REQUIRE([gl_PROG_AR_RANLIB]) |
28 # Code from module arg-nonnull: | 41 # Code from module alloca: |
29 # Code from module c++defs: | 42 # Code from module alloca-opt: |
| 43 # Code from module configmake: |
30 # Code from module extensions: | 44 # Code from module extensions: |
31 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | 45 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
| 46 # Code from module fnmatch: |
| 47 # Code from module fnmatch-gnu: |
32 # Code from module include_next: | 48 # Code from module include_next: |
| 49 # Code from module inttypes: |
| 50 # Code from module inttypes-incomplete: |
| 51 # Code from module localcharset: |
| 52 # Code from module mbrtowc: |
| 53 # Code from module mbsinit: |
| 54 # Code from module mbsrtowcs: |
33 # Code from module memchr: | 55 # Code from module memchr: |
34 # Code from module memmem: | 56 # Code from module memmem: |
35 # Code from module memmem-simple: | 57 # Code from module memmem-simple: |
36 # Code from module multiarch: | 58 # Code from module multiarch: |
| 59 # Code from module snippet/arg-nonnull: |
| 60 # Code from module snippet/c++defs: |
| 61 # Code from module snippet/warn-on-use: |
| 62 # Code from module stdbool: |
37 # Code from module stddef: | 63 # Code from module stddef: |
38 # Code from module stdint: | 64 # Code from module stdint: |
| 65 # Code from module streq: |
39 # Code from module string: | 66 # Code from module string: |
40 # Code from module warn-on-use: | 67 # Code from module strnlen1: |
| 68 # Code from module update-copyright: |
| 69 # Code from module verify: |
41 # Code from module wchar: | 70 # Code from module wchar: |
| 71 # Code from module wctype-h: |
42 ]) | 72 ]) |
43 | 73 |
44 # This macro should be invoked from ./configure.ac, in the section | 74 # This macro should be invoked from ./configure.ac, in the section |
45 # "Check for header files, types and library functions". | 75 # "Check for header files, types and library functions". |
46 AC_DEFUN([gl_INIT], | 76 AC_DEFUN([gl_INIT], |
47 [ | 77 [ |
48 AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) | 78 AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) |
49 gl_cond_libtool=false | 79 gl_cond_libtool=false |
50 gl_libdeps= | 80 gl_libdeps= |
51 gl_ltlibdeps= | 81 gl_ltlibdeps= |
52 gl_m4_base='gnulib/m4' | 82 gl_m4_base='import/m4' |
53 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) | 83 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
54 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) | 84 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) |
55 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) | 85 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) |
56 m4_pushdef([gl_LIBSOURCES_LIST], []) | 86 m4_pushdef([gl_LIBSOURCES_LIST], []) |
57 m4_pushdef([gl_LIBSOURCES_DIR], []) | 87 m4_pushdef([gl_LIBSOURCES_DIR], []) |
58 gl_COMMON | 88 gl_COMMON |
59 gl_source_base='gnulib' | 89 gl_source_base='import' |
60 # Code from module arg-nonnull: | 90 gl_FUNC_ALLOCA |
61 # Code from module c++defs: | 91 gl_CONFIGMAKE_PREP |
62 # Code from module extensions: | 92 gl_FUNC_FNMATCH_POSIX |
63 # Code from module include_next: | 93 if test -n "$FNMATCH_H"; then |
64 # Code from module memchr: | 94 AC_LIBOBJ([fnmatch]) |
65 gl_FUNC_MEMCHR | 95 gl_PREREQ_FNMATCH |
66 gl_STRING_MODULE_INDICATOR([memchr]) | 96 fi |
67 # Code from module memmem: | 97 gl_FUNC_FNMATCH_GNU |
68 gl_FUNC_MEMMEM | 98 if test -n "$FNMATCH_H"; then |
69 # Code from module memmem-simple: | 99 AC_LIBOBJ([fnmatch]) |
70 gl_FUNC_MEMMEM_SIMPLE | 100 gl_PREREQ_FNMATCH |
71 gl_STRING_MODULE_INDICATOR([memmem]) | 101 fi |
72 # Code from module multiarch: | 102 gl_INTTYPES_H |
73 gl_MULTIARCH | 103 gl_INTTYPES_INCOMPLETE |
74 # Code from module stddef: | 104 gl_LOCALCHARSET |
75 gl_STDDEF_H | 105 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_sourc
e_base\"" |
76 # Code from module stdint: | 106 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) |
77 gl_STDINT_H | 107 gl_FUNC_MBRTOWC |
78 # Code from module string: | 108 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then |
79 gl_HEADER_STRING_H | 109 AC_LIBOBJ([mbrtowc]) |
80 # Code from module warn-on-use: | 110 gl_PREREQ_MBRTOWC |
81 # Code from module wchar: | 111 fi |
82 gl_WCHAR_H | 112 gl_WCHAR_MODULE_INDICATOR([mbrtowc]) |
83 # Code from module dummy: | 113 gl_FUNC_MBSINIT |
| 114 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then |
| 115 AC_LIBOBJ([mbsinit]) |
| 116 gl_PREREQ_MBSINIT |
| 117 fi |
| 118 gl_WCHAR_MODULE_INDICATOR([mbsinit]) |
| 119 gl_FUNC_MBSRTOWCS |
| 120 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then |
| 121 AC_LIBOBJ([mbsrtowcs]) |
| 122 AC_LIBOBJ([mbsrtowcs-state]) |
| 123 gl_PREREQ_MBSRTOWCS |
| 124 fi |
| 125 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) |
| 126 gl_FUNC_MEMCHR |
| 127 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then |
| 128 AC_LIBOBJ([memchr]) |
| 129 gl_PREREQ_MEMCHR |
| 130 fi |
| 131 gl_STRING_MODULE_INDICATOR([memchr]) |
| 132 gl_FUNC_MEMMEM |
| 133 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then |
| 134 AC_LIBOBJ([memmem]) |
| 135 fi |
| 136 gl_FUNC_MEMMEM_SIMPLE |
| 137 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then |
| 138 AC_LIBOBJ([memmem]) |
| 139 fi |
| 140 gl_STRING_MODULE_INDICATOR([memmem]) |
| 141 gl_MULTIARCH |
| 142 AM_STDBOOL_H |
| 143 gl_STDDEF_H |
| 144 gl_STDINT_H |
| 145 gl_HEADER_STRING_H |
| 146 gl_WCHAR_H |
| 147 gl_WCTYPE_H |
84 # End of code from modules | 148 # End of code from modules |
85 m4_ifval(gl_LIBSOURCES_LIST, [ | 149 m4_ifval(gl_LIBSOURCES_LIST, [ |
86 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || | 150 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || |
87 for gl_file in ]gl_LIBSOURCES_LIST[ ; do | 151 for gl_file in ]gl_LIBSOURCES_LIST[ ; do |
88 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then | 152 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then |
89 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 | 153 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 |
90 exit 1 | 154 exit 1 |
91 fi | 155 fi |
92 done])dnl | 156 done])dnl |
93 m4_if(m4_sysval, [0], [], | 157 m4_if(m4_sysval, [0], [], |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) | 242 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) |
179 ]) | 243 ]) |
180 | 244 |
181 # Like AC_LIBSOURCES, except the directory where the source file is | 245 # Like AC_LIBSOURCES, except the directory where the source file is |
182 # expected is derived from the gnulib-tool parameterization, | 246 # expected is derived from the gnulib-tool parameterization, |
183 # and alloca is special cased (for the alloca-opt module). | 247 # and alloca is special cased (for the alloca-opt module). |
184 # We could also entirely rely on EXTRA_lib..._SOURCES. | 248 # We could also entirely rely on EXTRA_lib..._SOURCES. |
185 AC_DEFUN([gl_LIBSOURCES], [ | 249 AC_DEFUN([gl_LIBSOURCES], [ |
186 m4_foreach([_gl_NAME], [$1], [ | 250 m4_foreach([_gl_NAME], [$1], [ |
187 m4_if(_gl_NAME, [alloca.c], [], [ | 251 m4_if(_gl_NAME, [alloca.c], [], [ |
188 m4_define([gl_LIBSOURCES_DIR], [gnulib]) | 252 m4_define([gl_LIBSOURCES_DIR], [import]) |
189 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) | 253 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
190 ]) | 254 ]) |
191 ]) | 255 ]) |
192 ]) | 256 ]) |
193 | 257 |
194 # Like AC_LIBOBJ, except that the module name goes | 258 # Like AC_LIBOBJ, except that the module name goes |
195 # into gltests_LIBOBJS instead of into LIBOBJS. | 259 # into gltests_LIBOBJS instead of into LIBOBJS. |
196 AC_DEFUN([gltests_LIBOBJ], [ | 260 AC_DEFUN([gltests_LIBOBJ], [ |
197 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl | 261 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl |
198 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" | 262 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" |
(...skipping 15 matching lines...) Expand all Loading... |
214 m4_if(_gl_NAME, [alloca.c], [], [ | 278 m4_if(_gl_NAME, [alloca.c], [], [ |
215 m4_define([gltests_LIBSOURCES_DIR], [tests]) | 279 m4_define([gltests_LIBSOURCES_DIR], [tests]) |
216 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) | 280 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) |
217 ]) | 281 ]) |
218 ]) | 282 ]) |
219 ]) | 283 ]) |
220 | 284 |
221 # This macro records the list of files which have been installed by | 285 # This macro records the list of files which have been installed by |
222 # gnulib-tool and may be removed by future gnulib-tool invocations. | 286 # gnulib-tool and may be removed by future gnulib-tool invocations. |
223 AC_DEFUN([gl_FILE_LIST], [ | 287 AC_DEFUN([gl_FILE_LIST], [ |
224 build-aux/arg-nonnull.h | 288 build-aux/snippet/arg-nonnull.h |
225 build-aux/c++defs.h | 289 build-aux/snippet/c++defs.h |
226 build-aux/warn-on-use.h | 290 build-aux/snippet/warn-on-use.h |
227 lib/dummy.c | 291 build-aux/update-copyright |
| 292 lib/alloca.c |
| 293 lib/alloca.in.h |
| 294 lib/config.charset |
| 295 lib/fnmatch.c |
| 296 lib/fnmatch.in.h |
| 297 lib/fnmatch_loop.c |
| 298 lib/inttypes.in.h |
| 299 lib/localcharset.c |
| 300 lib/localcharset.h |
| 301 lib/mbrtowc.c |
| 302 lib/mbsinit.c |
| 303 lib/mbsrtowcs-impl.h |
| 304 lib/mbsrtowcs-state.c |
| 305 lib/mbsrtowcs.c |
228 lib/memchr.c | 306 lib/memchr.c |
229 lib/memchr.valgrind | 307 lib/memchr.valgrind |
230 lib/memmem.c | 308 lib/memmem.c |
| 309 lib/ref-add.sin |
| 310 lib/ref-del.sin |
| 311 lib/stdbool.in.h |
231 lib/stddef.in.h | 312 lib/stddef.in.h |
232 lib/stdint.in.h | 313 lib/stdint.in.h |
233 lib/str-two-way.h | 314 lib/str-two-way.h |
| 315 lib/streq.h |
234 lib/string.in.h | 316 lib/string.in.h |
| 317 lib/strnlen1.c |
| 318 lib/strnlen1.h |
| 319 lib/verify.h |
235 lib/wchar.in.h | 320 lib/wchar.in.h |
| 321 lib/wctype.in.h |
236 m4/00gnulib.m4 | 322 m4/00gnulib.m4 |
| 323 m4/alloca.m4 |
| 324 m4/codeset.m4 |
| 325 m4/configmake.m4 |
237 m4/extensions.m4 | 326 m4/extensions.m4 |
| 327 m4/fcntl-o.m4 |
| 328 m4/fnmatch.m4 |
| 329 m4/glibc21.m4 |
238 m4/gnulib-common.m4 | 330 m4/gnulib-common.m4 |
239 m4/include_next.m4 | 331 m4/include_next.m4 |
| 332 m4/inttypes-pri.m4 |
| 333 m4/inttypes.m4 |
| 334 m4/localcharset.m4 |
| 335 m4/locale-fr.m4 |
| 336 m4/locale-ja.m4 |
| 337 m4/locale-zh.m4 |
240 m4/longlong.m4 | 338 m4/longlong.m4 |
| 339 m4/mbrtowc.m4 |
| 340 m4/mbsinit.m4 |
| 341 m4/mbsrtowcs.m4 |
| 342 m4/mbstate_t.m4 |
241 m4/memchr.m4 | 343 m4/memchr.m4 |
242 m4/memmem.m4 | 344 m4/memmem.m4 |
243 m4/mmap-anon.m4 | 345 m4/mmap-anon.m4 |
244 m4/multiarch.m4 | 346 m4/multiarch.m4 |
245 m4/onceonly.m4 | 347 m4/stdbool.m4 |
246 m4/stddef_h.m4 | 348 m4/stddef_h.m4 |
247 m4/stdint.m4 | 349 m4/stdint.m4 |
248 m4/string_h.m4 | 350 m4/string_h.m4 |
249 m4/warn-on-use.m4 | 351 m4/warn-on-use.m4 |
250 m4/wchar_h.m4 | 352 m4/wchar_h.m4 |
251 m4/wchar_t.m4 | 353 m4/wchar_t.m4 |
| 354 m4/wctype_h.m4 |
252 m4/wint_t.m4 | 355 m4/wint_t.m4 |
253 ]) | 356 ]) |
OLD | NEW |