1# DO NOT EDIT! GENERATED AUTOMATICALLY! 2# Copyright (C) 2004-2007 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 using CVS, this file can be treated like other built files. 16 17 18# This macro should be invoked from gettext-runtime/configure.ac, in the section 19# "Checks for programs", right after AC_PROG_CC, and certainly before 20# any checks for libraries, header files, types and library functions. 21AC_DEFUN([gl_EARLY], 22[ 23 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace 24 m4_pattern_allow([^gl_ES$])dnl a valid locale name 25 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable 26 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable 27 AC_REQUIRE([AC_PROG_RANLIB]) 28 AC_REQUIRE([AM_PROG_CC_C_O]) 29 AC_REQUIRE([AC_GNU_SOURCE]) 30 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) 31]) 32 33# This macro should be invoked from gettext-runtime/configure.ac, in the section 34# "Check for header files, types and library functions". 35AC_DEFUN([gl_INIT], 36[ 37 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) 38 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) 39 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) 40 AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) 41 gl_cond_libtool=false 42 gl_libdeps= 43 gl_ltlibdeps= 44 gl_source_base='gnulib-lib' 45 gl_FUNC_ALLOCA 46 gl_FUNC_ATEXIT 47 gl_CANONICALIZE_LGPL 48 AC_REQUIRE([gt_CSHARPCOMP]) 49 AC_CONFIG_FILES([csharpcomp.sh:../build-aux/csharpcomp.sh.in]) 50 gl_ERROR 51 m4_ifdef([AM_XGETTEXT_OPTION], 52 [AM_XGETTEXT_OPTION([--flag=error:3:c-format]) 53 AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) 54 gl_MODULE_INDICATOR([fwriteerror]) 55 gl_GETOPT 56 AC_SUBST([LIBINTL]) 57 AC_SUBST([LTLIBINTL]) 58 AM_ICONV 59 gl_ICONV_H 60 gl_FUNC_ICONV_OPEN 61 gt_JAVA_CHOICE 62 # You need to invoke gt_JAVACOMP yourself, possibly with arguments. 63 AC_CONFIG_FILES([javacomp.sh:../build-aux/javacomp.sh.in]) 64 gl_LOCALCHARSET 65 gl_FUNC_MALLOC_POSIX 66 gl_STDLIB_MODULE_INDICATOR([malloc-posix]) 67 gl_MALLOCA 68 gl_MBCHAR 69 gl_FUNC_MBSLEN 70 gl_STRING_MODULE_INDICATOR([mbslen]) 71 gl_FUNC_MBSSTR 72 gl_STRING_MODULE_INDICATOR([mbsstr]) 73 gl_MBITER 74 gl_FUNC_MEMCHR 75 gl_FUNC_MEMMOVE 76 gl_PATHMAX 77 gl_FUNC_READLINK 78 gl_UNISTD_MODULE_INDICATOR([readlink]) 79 gl_RELOCATABLE([$gl_source_base]) 80 gl_FUNC_READLINK_SEPARATE 81 gl_CANONICALIZE_LGPL_SEPARATE 82 gl_MALLOCA 83 gl_RELOCATABLE_LIBRARY_SEPARATE 84 gl_FUNC_SETENV_SEPARATE 85 gl_FUNC_STRERROR_SEPARATE 86 gt_TYPE_SSIZE_T 87 AM_STDBOOL_H 88 gl_STDINT_H 89 gl_STDLIB_H 90 gl_FUNC_STRDUP 91 gl_STRING_MODULE_INDICATOR([strdup]) 92 gl_FUNC_STRERROR 93 gl_STRING_MODULE_INDICATOR([strerror]) 94 if test $gl_cond_libtool = false; then 95 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" 96 gl_libdeps="$gl_libdeps $LIBICONV" 97 fi 98 gl_HEADER_STRING_H 99 gl_FUNC_STRNLEN 100 gl_STRING_MODULE_INDICATOR([strnlen]) 101 gl_FUNC_STRTOL 102 gl_FUNC_STRTOUL 103 gl_UNISTD_H 104 gl_FUNC_GLIBC_UNLOCKED_IO 105 gl_WCHAR_H 106 gl_WCTYPE_H 107 gl_FUNC_WCWIDTH 108 gl_WCHAR_MODULE_INDICATOR([wcwidth]) 109 LIBGRT_LIBDEPS="$gl_libdeps" 110 AC_SUBST([LIBGRT_LIBDEPS]) 111 LIBGRT_LTLIBDEPS="$gl_ltlibdeps" 112 AC_SUBST([LIBGRT_LTLIBDEPS]) 113 m4_popdef([AC_LIBSOURCES]) 114 m4_popdef([AC_REPLACE_FUNCS]) 115 m4_popdef([AC_LIBOBJ]) 116 AC_CONFIG_COMMANDS_PRE([ 117 gl_libobjs= 118 gl_ltlibobjs= 119 if test -n "$gl_LIBOBJS"; then 120 # Remove the extension. 121 sed_drop_objext='s/\.o$//;s/\.obj$//' 122 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do 123 gl_libobjs="$gl_libobjs $i.$ac_objext" 124 gl_ltlibobjs="$gl_ltlibobjs $i.lo" 125 done 126 fi 127 AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) 128 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) 129 ]) 130]) 131 132# Like AC_LIBOBJ, except that the module name goes 133# into gl_LIBOBJS instead of into LIBOBJS. 134AC_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. 141AC_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 parametrization, 148# and alloca is special cased (for the alloca-opt module). 149# We could also entirely rely on EXTRA_lib..._SOURCES. 150AC_DEFUN([gl_LIBSOURCES], [ 151 m4_foreach([_gl_NAME], [$1], [ 152 m4_if(_gl_NAME, [alloca.c], [], [ 153 m4_syscmd([test -r gnulib-lib/]_gl_NAME[ || test ! -d gnulib-lib])dnl 154 m4_if(m4_sysval, [0], [], 155 [AC_FATAL([missing gnulib-lib/]_gl_NAME)]) 156 ]) 157 ]) 158]) 159 160# This macro records the list of files which have been installed by 161# gnulib-tool and may be removed by future gnulib-tool invocations. 162AC_DEFUN([gl_FILE_LIST], [ 163 build-aux/config.libpath 164 build-aux/config.rpath 165 build-aux/csharpcomp.sh.in 166 build-aux/install-reloc 167 build-aux/javacomp.sh.in 168 build-aux/link-warning.h 169 build-aux/reloc-ldflags 170 doc/relocatable.texi 171 lib/alloca.in.h 172 lib/areadlink.c 173 lib/areadlink.h 174 lib/atexit.c 175 lib/basename.c 176 lib/basename.h 177 lib/c-ctype.c 178 lib/c-ctype.h 179 lib/c-strcase.h 180 lib/c-strcasecmp.c 181 lib/c-strncasecmp.c 182 lib/c-strstr.c 183 lib/c-strstr.h 184 lib/canonicalize-lgpl.c 185 lib/canonicalize.h 186 lib/closeout.c 187 lib/closeout.h 188 lib/config.charset 189 lib/error.c 190 lib/error.h 191 lib/fwriteerror.c 192 lib/fwriteerror.h 193 lib/getopt.c 194 lib/getopt.in.h 195 lib/getopt1.c 196 lib/getopt_int.h 197 lib/gettext.h 198 lib/iconv.in.h 199 lib/iconv_open-aix.gperf 200 lib/iconv_open-hpux.gperf 201 lib/iconv_open-irix.gperf 202 lib/iconv_open-osf.gperf 203 lib/iconv_open.c 204 lib/intprops.h 205 lib/localcharset.c 206 lib/localcharset.h 207 lib/malloc.c 208 lib/malloca.c 209 lib/malloca.h 210 lib/malloca.valgrind 211 lib/mbchar.c 212 lib/mbchar.h 213 lib/mbslen.c 214 lib/mbsstr.c 215 lib/mbuiter.h 216 lib/memchr.c 217 lib/memmove.c 218 lib/pathmax.h 219 lib/progname.c 220 lib/progname.h 221 lib/progreloc.c 222 lib/propername.c 223 lib/propername.h 224 lib/readlink.c 225 lib/ref-add.sin 226 lib/ref-del.sin 227 lib/relocatable.c 228 lib/relocatable.h 229 lib/relocwrapper.c 230 lib/setenv.c 231 lib/setenv.h 232 lib/stdbool.in.h 233 lib/stdint.in.h 234 lib/stdlib.in.h 235 lib/strdup.c 236 lib/streq.h 237 lib/strerror.c 238 lib/striconv.c 239 lib/striconv.h 240 lib/string.in.h 241 lib/strnlen.c 242 lib/strnlen1.c 243 lib/strnlen1.h 244 lib/strtol.c 245 lib/strtoul.c 246 lib/unistd.in.h 247 lib/unitypes.h 248 lib/uniwidth.h 249 lib/uniwidth/cjk.h 250 lib/uniwidth/width.c 251 lib/unlocked-io.h 252 lib/wchar.in.h 253 lib/wctype.in.h 254 lib/wcwidth.c 255 lib/xalloc.h 256 lib/xmalloc.c 257 lib/xreadlink.c 258 lib/xreadlink.h 259 lib/xstrdup.c 260 lib/xstriconv.c 261 lib/xstriconv.h 262 m4/absolute-header.m4 263 m4/alloca.m4 264 m4/atexit.m4 265 m4/canonicalize-lgpl.m4 266 m4/codeset.m4 267 m4/csharp.m4 268 m4/csharpcomp.m4 269 m4/eealloc.m4 270 m4/error.m4 271 m4/extensions.m4 272 m4/getopt.m4 273 m4/glibc21.m4 274 m4/gnulib-common.m4 275 m4/iconv.m4 276 m4/iconv_h.m4 277 m4/iconv_open.m4 278 m4/include_next.m4 279 m4/java.m4 280 m4/javacomp.m4 281 m4/lib-ld.m4 282 m4/lib-link.m4 283 m4/lib-prefix.m4 284 m4/localcharset.m4 285 m4/longlong.m4 286 m4/malloc.m4 287 m4/malloca.m4 288 m4/mbchar.m4 289 m4/mbiter.m4 290 m4/mbrtowc.m4 291 m4/mbslen.m4 292 m4/mbsstr.m4 293 m4/memchr.m4 294 m4/memmove.m4 295 m4/onceonly_2_57.m4 296 m4/pathmax.m4 297 m4/readlink.m4 298 m4/relocatable-lib.m4 299 m4/relocatable.m4 300 m4/setenv.m4 301 m4/ssize_t.m4 302 m4/stdbool.m4 303 m4/stdint.m4 304 m4/stdlib_h.m4 305 m4/strdup.m4 306 m4/strerror.m4 307 m4/string_h.m4 308 m4/strnlen.m4 309 m4/strtol.m4 310 m4/strtoul.m4 311 m4/unistd_h.m4 312 m4/unlocked-io.m4 313 m4/wchar.m4 314 m4/wchar_t.m4 315 m4/wctype.m4 316 m4/wcwidth.m4 317 m4/wint_t.m4 318]) 319