OLD | NEW |
(Empty) | |
| 1 # -*- buffer-read-only: t -*- vi: set ro: |
| 2 # DO NOT EDIT! GENERATED AUTOMATICALLY! |
| 3 # DO NOT EDIT! GENERATED AUTOMATICALLY! |
| 4 # Copyright (C) 2002-2008 Free Software Foundation, Inc. |
| 5 # |
| 6 # This file is free software, distributed under the terms of the GNU |
| 7 # General Public License. As a special exception to the GNU General |
| 8 # Public License, this file may be distributed as part of a program |
| 9 # that contains a configuration script generated by Autoconf, under |
| 10 # the same distribution terms as the rest of that program. |
| 11 # |
| 12 # Generated by gnulib-tool. |
| 13 # |
| 14 # This file represents the compiled summary of the specification in |
| 15 # gnulib-cache.m4. It lists the computed macro invocations that need |
| 16 # to be invoked from configure.ac. |
| 17 # In projects using CVS, this file can be treated like other built files. |
| 18 |
| 19 |
| 20 # This macro should be invoked from ./configure.ac, in the section |
| 21 # "Checks for programs", right after AC_PROG_CC, and certainly before |
| 22 # any checks for libraries, header files, types and library functions. |
| 23 AC_DEFUN([gl_EARLY], |
| 24 [ |
| 25 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace |
| 26 m4_pattern_allow([^gl_ES$])dnl a valid locale name |
| 27 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable |
| 28 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable |
| 29 AC_REQUIRE([AC_PROG_RANLIB]) |
| 30 AC_REQUIRE([AM_PROG_CC_C_O]) |
| 31 AC_REQUIRE([AC_GNU_SOURCE]) |
| 32 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
| 33 ]) |
| 34 |
| 35 # This macro should be invoked from ./configure.ac, in the section |
| 36 # "Check for header files, types and library functions". |
| 37 AC_DEFUN([gl_INIT], |
| 38 [ |
| 39 AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) |
| 40 gl_cond_libtool=false |
| 41 gl_libdeps= |
| 42 gl_ltlibdeps= |
| 43 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
| 44 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) |
| 45 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) |
| 46 m4_pushdef([gl_LIBSOURCES_LIST], []) |
| 47 m4_pushdef([gl_LIBSOURCES_DIR], []) |
| 48 gl_COMMON |
| 49 gl_source_base='lib' |
| 50 gl_ARGMATCH |
| 51 gl_CONFIG_H |
| 52 gl_DIRNAME |
| 53 gl_DOUBLE_SLASH_ROOT |
| 54 gl_ENVIRON |
| 55 gl_UNISTD_MODULE_INDICATOR([environ]) |
| 56 gl_HEADER_ERRNO_H |
| 57 gl_ERROR |
| 58 m4_ifdef([AM_XGETTEXT_OPTION], |
| 59 [AM_XGETTEXT_OPTION([--flag=error:3:c-format]) |
| 60 AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) |
| 61 gl_EXITFAIL |
| 62 gl_FOPEN_SAFER |
| 63 gl_MODULE_INDICATOR([fopen-safer]) |
| 64 gl_GETOPT |
| 65 dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. |
| 66 AM_GNU_GETTEXT_VERSION([0.17]) |
| 67 AC_SUBST([LIBINTL]) |
| 68 AC_SUBST([LTLIBINTL]) |
| 69 # Autoconf 2.61a.99 and earlier don't support linking a file only |
| 70 # in VPATH builds. But since GNUmakefile is for maintainer use |
| 71 # only, it does not matter if we skip the link with older autoconf. |
| 72 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH |
| 73 # builds, so use a shell variable to bypass this. |
| 74 GNUmakefile=GNUmakefile |
| 75 m4_if(m4_version_compare([2.61a.100], |
| 76 m4_defn([m4_PACKAGE_VERSION])), [1], [], |
| 77 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], |
| 78 [GNUmakefile=$GNUmakefile])]) |
| 79 gl_HASH |
| 80 gl_INLINE |
| 81 gl_INTTYPES_H |
| 82 # You need to invoke gt_JAVACOMP yourself, possibly with arguments. |
| 83 AC_CONFIG_FILES([javacomp.sh:build-aux/javacomp.sh.in]) |
| 84 # You need to invoke gt_JAVAEXEC yourself, possibly with arguments. |
| 85 AC_CONFIG_FILES([javaexec.sh:build-aux/javaexec.sh.in]) |
| 86 gl_LOCALCHARSET |
| 87 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_
base\"" |
| 88 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) |
| 89 AC_FUNC_MALLOC |
| 90 AC_DEFINE([GNULIB_MALLOC_GNU], 1, [Define to indicate the 'malloc' module.]) |
| 91 gl_FUNC_MALLOC_POSIX |
| 92 gl_STDLIB_MODULE_INDICATOR([malloc-posix]) |
| 93 gl_MBSWIDTH |
| 94 AC_FUNC_OBSTACK |
| 95 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). |
| 96 gl_QUOTE |
| 97 gl_QUOTEARG |
| 98 AM_STDBOOL_H |
| 99 gl_STDINT_H |
| 100 gl_STDLIB_H |
| 101 gl_FUNC_STPCPY |
| 102 gl_STRING_MODULE_INDICATOR([stpcpy]) |
| 103 gl_FUNC_STRERROR |
| 104 gl_STRING_MODULE_INDICATOR([strerror]) |
| 105 gl_HEADER_STRING_H |
| 106 gl_FUNC_STRNDUP |
| 107 gl_STRING_MODULE_INDICATOR([strndup]) |
| 108 gl_FUNC_STRNLEN |
| 109 gl_STRING_MODULE_INDICATOR([strnlen]) |
| 110 gl_FUNC_STRTOL |
| 111 gl_FUNC_STRTOUL |
| 112 gl_FUNC_STRVERSCMP |
| 113 gl_STRING_MODULE_INDICATOR([strverscmp]) |
| 114 gl_UNISTD_H |
| 115 gl_UNISTD_SAFER |
| 116 gl_FUNC_GLIBC_UNLOCKED_IO |
| 117 gl_FUNC_UNSETENV |
| 118 gl_STDLIB_MODULE_INDICATOR([unsetenv]) |
| 119 AC_SUBST([WARN_CFLAGS]) |
| 120 gl_WCHAR_H |
| 121 gl_WCTYPE_H |
| 122 gl_FUNC_WCWIDTH |
| 123 gl_WCHAR_MODULE_INDICATOR([wcwidth]) |
| 124 gl_XALLOC |
| 125 gl_XSTRNDUP |
| 126 m4_ifval(gl_LIBSOURCES_LIST, [ |
| 127 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || |
| 128 for gl_file in ]gl_LIBSOURCES_LIST[ ; do |
| 129 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then |
| 130 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 131 exit 1 |
| 132 fi |
| 133 done])dnl |
| 134 m4_if(m4_sysval, [0], [], |
| 135 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not fou
nd])]) |
| 136 ]) |
| 137 m4_popdef([gl_LIBSOURCES_DIR]) |
| 138 m4_popdef([gl_LIBSOURCES_LIST]) |
| 139 m4_popdef([AC_LIBSOURCES]) |
| 140 m4_popdef([AC_REPLACE_FUNCS]) |
| 141 m4_popdef([AC_LIBOBJ]) |
| 142 AC_CONFIG_COMMANDS_PRE([ |
| 143 gl_libobjs= |
| 144 gl_ltlibobjs= |
| 145 if test -n "$gl_LIBOBJS"; then |
| 146 # Remove the extension. |
| 147 sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 148 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext
" | sort | uniq`; do |
| 149 gl_libobjs="$gl_libobjs $i.$ac_objext" |
| 150 gl_ltlibobjs="$gl_ltlibobjs $i.lo" |
| 151 done |
| 152 fi |
| 153 AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) |
| 154 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) |
| 155 ]) |
| 156 gltests_libdeps= |
| 157 gltests_ltlibdeps= |
| 158 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) |
| 159 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) |
| 160 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) |
| 161 m4_pushdef([gltests_LIBSOURCES_LIST], []) |
| 162 m4_pushdef([gltests_LIBSOURCES_DIR], []) |
| 163 gl_COMMON |
| 164 gl_source_base='tests' |
| 165 m4_ifval(gltests_LIBSOURCES_LIST, [ |
| 166 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || |
| 167 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do |
| 168 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then |
| 169 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 170 exit 1 |
| 171 fi |
| 172 done])dnl |
| 173 m4_if(m4_sysval, [0], [], |
| 174 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not fou
nd])]) |
| 175 ]) |
| 176 m4_popdef([gltests_LIBSOURCES_DIR]) |
| 177 m4_popdef([gltests_LIBSOURCES_LIST]) |
| 178 m4_popdef([AC_LIBSOURCES]) |
| 179 m4_popdef([AC_REPLACE_FUNCS]) |
| 180 m4_popdef([AC_LIBOBJ]) |
| 181 AC_CONFIG_COMMANDS_PRE([ |
| 182 gltests_libobjs= |
| 183 gltests_ltlibobjs= |
| 184 if test -n "$gltests_LIBOBJS"; then |
| 185 # Remove the extension. |
| 186 sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 187 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_o
bjext" | sort | uniq`; do |
| 188 gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
| 189 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" |
| 190 done |
| 191 fi |
| 192 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) |
| 193 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) |
| 194 ]) |
| 195 LIBBISON_LIBDEPS="$gl_libdeps" |
| 196 AC_SUBST([LIBBISON_LIBDEPS]) |
| 197 LIBBISON_LTLIBDEPS="$gl_ltlibdeps" |
| 198 AC_SUBST([LIBBISON_LTLIBDEPS]) |
| 199 ]) |
| 200 |
| 201 # Like AC_LIBOBJ, except that the module name goes |
| 202 # into gl_LIBOBJS instead of into LIBOBJS. |
| 203 AC_DEFUN([gl_LIBOBJ], [ |
| 204 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl |
| 205 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" |
| 206 ]) |
| 207 |
| 208 # Like AC_REPLACE_FUNCS, except that the module name goes |
| 209 # into gl_LIBOBJS instead of into LIBOBJS. |
| 210 AC_DEFUN([gl_REPLACE_FUNCS], [ |
| 211 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 212 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) |
| 213 ]) |
| 214 |
| 215 # Like AC_LIBSOURCES, except the directory where the source file is |
| 216 # expected is derived from the gnulib-tool parameterization, |
| 217 # and alloca is special cased (for the alloca-opt module). |
| 218 # We could also entirely rely on EXTRA_lib..._SOURCES. |
| 219 AC_DEFUN([gl_LIBSOURCES], [ |
| 220 m4_foreach([_gl_NAME], [$1], [ |
| 221 m4_if(_gl_NAME, [alloca.c], [], [ |
| 222 m4_define([gl_LIBSOURCES_DIR], [lib]) |
| 223 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 224 ]) |
| 225 ]) |
| 226 ]) |
| 227 |
| 228 # Like AC_LIBOBJ, except that the module name goes |
| 229 # into gltests_LIBOBJS instead of into LIBOBJS. |
| 230 AC_DEFUN([gltests_LIBOBJ], [ |
| 231 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl |
| 232 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" |
| 233 ]) |
| 234 |
| 235 # Like AC_REPLACE_FUNCS, except that the module name goes |
| 236 # into gltests_LIBOBJS instead of into LIBOBJS. |
| 237 AC_DEFUN([gltests_REPLACE_FUNCS], [ |
| 238 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 239 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) |
| 240 ]) |
| 241 |
| 242 # Like AC_LIBSOURCES, except the directory where the source file is |
| 243 # expected is derived from the gnulib-tool parameterization, |
| 244 # and alloca is special cased (for the alloca-opt module). |
| 245 # We could also entirely rely on EXTRA_lib..._SOURCES. |
| 246 AC_DEFUN([gltests_LIBSOURCES], [ |
| 247 m4_foreach([_gl_NAME], [$1], [ |
| 248 m4_if(_gl_NAME, [alloca.c], [], [ |
| 249 m4_define([gltests_LIBSOURCES_DIR], [tests]) |
| 250 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 251 ]) |
| 252 ]) |
| 253 ]) |
| 254 |
| 255 # This macro records the list of files which have been installed by |
| 256 # gnulib-tool and may be removed by future gnulib-tool invocations. |
| 257 AC_DEFUN([gl_FILE_LIST], [ |
| 258 build-aux/announce-gen |
| 259 build-aux/config.rpath |
| 260 build-aux/git-version-gen |
| 261 build-aux/javacomp.sh.in |
| 262 build-aux/javaexec.sh.in |
| 263 build-aux/link-warning.h |
| 264 lib/argmatch.c |
| 265 lib/argmatch.h |
| 266 lib/basename.c |
| 267 lib/c-ctype.c |
| 268 lib/c-ctype.h |
| 269 lib/c-strcase.h |
| 270 lib/c-strcasecmp.c |
| 271 lib/c-strncasecmp.c |
| 272 lib/config.charset |
| 273 lib/dirname.c |
| 274 lib/dirname.h |
| 275 lib/dup-safer.c |
| 276 lib/errno.in.h |
| 277 lib/error.c |
| 278 lib/error.h |
| 279 lib/exitfail.c |
| 280 lib/exitfail.h |
| 281 lib/fd-safer.c |
| 282 lib/fopen-safer.c |
| 283 lib/getopt.c |
| 284 lib/getopt.in.h |
| 285 lib/getopt1.c |
| 286 lib/getopt_int.h |
| 287 lib/gettext.h |
| 288 lib/hash.c |
| 289 lib/hash.h |
| 290 lib/intprops.h |
| 291 lib/inttypes.in.h |
| 292 lib/localcharset.c |
| 293 lib/localcharset.h |
| 294 lib/malloc.c |
| 295 lib/mbswidth.c |
| 296 lib/mbswidth.h |
| 297 lib/obstack.c |
| 298 lib/obstack.h |
| 299 lib/pipe-safer.c |
| 300 lib/quote.c |
| 301 lib/quote.h |
| 302 lib/quotearg.c |
| 303 lib/quotearg.h |
| 304 lib/ref-add.sin |
| 305 lib/ref-del.sin |
| 306 lib/stdbool.in.h |
| 307 lib/stdint.in.h |
| 308 lib/stdio--.h |
| 309 lib/stdio-safer.h |
| 310 lib/stdlib.in.h |
| 311 lib/stpcpy.c |
| 312 lib/streq.h |
| 313 lib/strerror.c |
| 314 lib/string.in.h |
| 315 lib/stripslash.c |
| 316 lib/strndup.c |
| 317 lib/strnlen.c |
| 318 lib/strtol.c |
| 319 lib/strtoul.c |
| 320 lib/strverscmp.c |
| 321 lib/unistd--.h |
| 322 lib/unistd-safer.h |
| 323 lib/unistd.in.h |
| 324 lib/unitypes.h |
| 325 lib/uniwidth.h |
| 326 lib/uniwidth/cjk.h |
| 327 lib/uniwidth/width.c |
| 328 lib/unlocked-io.h |
| 329 lib/unsetenv.c |
| 330 lib/verify.h |
| 331 lib/wchar.in.h |
| 332 lib/wctype.in.h |
| 333 lib/wcwidth.c |
| 334 lib/xalloc-die.c |
| 335 lib/xalloc.h |
| 336 lib/xmalloc.c |
| 337 lib/xstrndup.c |
| 338 lib/xstrndup.h |
| 339 m4/argmatch.m4 |
| 340 m4/codeset.m4 |
| 341 m4/config-h.m4 |
| 342 m4/dirname.m4 |
| 343 m4/dos.m4 |
| 344 m4/double-slash-root.m4 |
| 345 m4/environ.m4 |
| 346 m4/errno_h.m4 |
| 347 m4/error.m4 |
| 348 m4/exitfail.m4 |
| 349 m4/extensions.m4 |
| 350 m4/getopt.m4 |
| 351 m4/gettext.m4 |
| 352 m4/glibc2.m4 |
| 353 m4/glibc21.m4 |
| 354 m4/gnulib-common.m4 |
| 355 m4/hash.m4 |
| 356 m4/iconv.m4 |
| 357 m4/include_next.m4 |
| 358 m4/inline.m4 |
| 359 m4/intdiv0.m4 |
| 360 m4/intl.m4 |
| 361 m4/intldir.m4 |
| 362 m4/intlmacosx.m4 |
| 363 m4/intmax.m4 |
| 364 m4/inttypes-pri.m4 |
| 365 m4/inttypes.m4 |
| 366 m4/inttypes_h.m4 |
| 367 m4/javacomp.m4 |
| 368 m4/javaexec.m4 |
| 369 m4/lcmessage.m4 |
| 370 m4/lib-ld.m4 |
| 371 m4/lib-link.m4 |
| 372 m4/lib-prefix.m4 |
| 373 m4/localcharset.m4 |
| 374 m4/lock.m4 |
| 375 m4/longlong.m4 |
| 376 m4/malloc.m4 |
| 377 m4/mbrtowc.m4 |
| 378 m4/mbstate_t.m4 |
| 379 m4/mbswidth.m4 |
| 380 m4/nls.m4 |
| 381 m4/po.m4 |
| 382 m4/printf-posix.m4 |
| 383 m4/progtest.m4 |
| 384 m4/quote.m4 |
| 385 m4/quotearg.m4 |
| 386 m4/setenv.m4 |
| 387 m4/size_max.m4 |
| 388 m4/stdbool.m4 |
| 389 m4/stdint.m4 |
| 390 m4/stdint_h.m4 |
| 391 m4/stdio-safer.m4 |
| 392 m4/stdlib_h.m4 |
| 393 m4/stpcpy.m4 |
| 394 m4/strerror.m4 |
| 395 m4/string_h.m4 |
| 396 m4/strndup.m4 |
| 397 m4/strnlen.m4 |
| 398 m4/strtol.m4 |
| 399 m4/strtoul.m4 |
| 400 m4/strverscmp.m4 |
| 401 m4/threadlib.m4 |
| 402 m4/uintmax_t.m4 |
| 403 m4/unistd-safer.m4 |
| 404 m4/unistd_h.m4 |
| 405 m4/unlocked-io.m4 |
| 406 m4/visibility.m4 |
| 407 m4/warnings.m4 |
| 408 m4/wchar.m4 |
| 409 m4/wchar_t.m4 |
| 410 m4/wctype.m4 |
| 411 m4/wcwidth.m4 |
| 412 m4/wint_t.m4 |
| 413 m4/xalloc.m4 |
| 414 m4/xsize.m4 |
| 415 m4/xstrndup.m4 |
| 416 top/GNUmakefile |
| 417 ]) |
OLD | NEW |