gnulib-comp.m4 revision 1.1.1.1
1# DO NOT EDIT! GENERATED AUTOMATICALLY! 2# Copyright (C) 2004-2006 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-tools/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([gtpo_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([AC_GNU_SOURCE]) 29 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) 30 AC_REQUIRE([gl_LOCK_EARLY]) 31]) 32 33# This macro should be invoked from gettext-tools/configure.ac, in the section 34# "Check for header files, types and library functions". 35AC_DEFUN([gtpo_INIT], 36[ 37 m4_pushdef([AC_LIBOBJ], m4_defn([gtpo_LIBOBJ])) 38 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gtpo_REPLACE_FUNCS])) 39 AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) 40 gl_cond_libtool=true 41 gl_source_base='libgettextpo' 42 gl_FUNC_ALLOCA 43 gl_ALLOCSA 44 gl_ERROR 45 gl_EXITFAIL 46 dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. 47 AC_DEFINE([GNULIB_FWRITEERROR], 1, 48 [Define to 1 when using the gnulib fwriteerror module.]) 49 gl_FUNC_GETDELIM 50 gl_FUNC_GETLINE 51 AC_RELOCATABLE 52 AM_ICONV 53 gl_LINEBREAK 54 gl_LOCALCHARSET 55 gl_LOCK 56 gl_MBSWIDTH 57 gl_MINMAX 58 AC_FUNC_OBSTACK 59 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). 60 gl_SIZE_MAX 61 gl_STDARG_H 62 AM_STDBOOL_H 63 gl_STDINT_H 64 gl_FUNC_STPCPY 65 gl_FUNC_STRDUP 66 if test $gl_cond_libtool = false; then 67 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" 68 gl_libdeps="$gl_libdeps $LIBICONV" 69 fi 70 gl_TLS 71 gl_UCS4_UTF 72 gl_FUNC_GLIBC_UNLOCKED_IO 73 gl_UTF_UCS4 74 gl_UTF_UCS4 75 gl_FUNC_VASPRINTF 76 gl_FUNC_WCWIDTH 77 gl_XSIZE 78 gl_XVASPRINTF 79 m4_popdef([AC_REPLACE_FUNCS]) 80 m4_popdef([AC_LIBOBJ]) 81 AC_CONFIG_COMMANDS_PRE([ 82 gtpo_libobjs= 83 gtpo_ltlibobjs= 84 if test -n "$gtpo_LIBOBJS"; then 85 # Remove the extension. 86 sed_drop_objext='s/\.o$//;s/\.obj$//' 87 for i in `for i in $gtpo_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do 88 gtpo_libobjs="$gtpo_libobjs $i.$ac_objext" 89 gtpo_ltlibobjs="$gtpo_ltlibobjs $i.lo" 90 done 91 fi 92 AC_SUBST([gtpo_LIBOBJS], [$gtpo_libobjs]) 93 AC_SUBST([gtpo_LTLIBOBJS], [$gtpo_ltlibobjs]) 94 ]) 95]) 96 97# Like AC_LIBOBJ, except that the module name goes 98# into gtpo_LIBOBJS instead of into LIBOBJS. 99AC_DEFUN([gtpo_LIBOBJ], 100 [gtpo_LIBOBJS="$gtpo_LIBOBJS $1.$ac_objext"]) 101 102# Like AC_REPLACE_FUNCS, except that the module name goes 103# into gtpo_LIBOBJS instead of into LIBOBJS. 104AC_DEFUN([gtpo_REPLACE_FUNCS], 105 [AC_CHECK_FUNCS([$1], , [gtpo_LIBOBJ($ac_func)])]) 106 107# This macro records the list of files which have been installed by 108# gnulib-tool and may be removed by future gnulib-tool invocations. 109AC_DEFUN([gtpo_FILE_LIST], [ 110 build-aux/config.rpath 111 lib/alloca_.h 112 lib/allocsa.c 113 lib/allocsa.h 114 lib/allocsa.valgrind 115 lib/basename.c 116 lib/basename.h 117 lib/c-ctype.c 118 lib/c-ctype.h 119 lib/c-strcase.h 120 lib/c-strcasecmp.c 121 lib/c-strncasecmp.c 122 lib/c-strstr.c 123 lib/c-strstr.h 124 lib/concatpath.c 125 lib/config.charset 126 lib/error-progname.c 127 lib/error-progname.h 128 lib/error.c 129 lib/error.h 130 lib/exit.h 131 lib/exitfail.c 132 lib/exitfail.h 133 lib/fstrcmp.c 134 lib/fstrcmp.h 135 lib/fwriteerror.c 136 lib/fwriteerror.h 137 lib/gcd.c 138 lib/gcd.h 139 lib/getdelim.c 140 lib/getdelim.h 141 lib/getline.c 142 lib/getline.h 143 lib/gettext.h 144 lib/hash.c 145 lib/hash.h 146 lib/lbrkprop.h 147 lib/linebreak.c 148 lib/linebreak.h 149 lib/localcharset.c 150 lib/localcharset.h 151 lib/lock.c 152 lib/lock.h 153 lib/mbswidth.c 154 lib/mbswidth.h 155 lib/minmax.h 156 lib/obstack.c 157 lib/obstack.h 158 lib/pathname.h 159 lib/progname.c 160 lib/progname.h 161 lib/ref-add.sin 162 lib/ref-del.sin 163 lib/relocatable.c 164 lib/relocatable.h 165 lib/size_max.h 166 lib/stdbool_.h 167 lib/stdint_.h 168 lib/stpcpy.c 169 lib/stpcpy.h 170 lib/strdup.c 171 lib/strdup.h 172 lib/striconv.c 173 lib/striconv.h 174 lib/tls.c 175 lib/tls.h 176 lib/ucs4-utf8.h 177 lib/unlocked-io.h 178 lib/utf16-ucs4.h 179 lib/utf8-ucs4.h 180 lib/vasprintf.c 181 lib/vasprintf.h 182 lib/wcwidth.h 183 lib/xalloc.h 184 lib/xallocsa.c 185 lib/xallocsa.h 186 lib/xasprintf.c 187 lib/xerror.c 188 lib/xerror.h 189 lib/xmalloc.c 190 lib/xsize.h 191 lib/xstrdup.c 192 lib/xstriconv.c 193 lib/xstriconv.h 194 lib/xvasprintf.c 195 lib/xvasprintf.h 196 m4/absolute-header.m4 197 m4/alloca.m4 198 m4/allocsa.m4 199 m4/codeset.m4 200 m4/eealloc.m4 201 m4/error.m4 202 m4/exitfail.m4 203 m4/extensions.m4 204 m4/getdelim.m4 205 m4/getline.m4 206 m4/glibc21.m4 207 m4/iconv.m4 208 m4/lib-ld.m4 209 m4/lib-link.m4 210 m4/lib-prefix.m4 211 m4/linebreak.m4 212 m4/localcharset.m4 213 m4/lock.m4 214 m4/longdouble.m4 215 m4/longlong.m4 216 m4/mbrtowc.m4 217 m4/mbstate_t.m4 218 m4/mbswidth.m4 219 m4/minmax.m4 220 m4/onceonly_2_57.m4 221 m4/relocatable.m4 222 m4/size_max.m4 223 m4/stdarg.m4 224 m4/stdbool.m4 225 m4/stdint.m4 226 m4/stpcpy.m4 227 m4/strdup.m4 228 m4/tls.m4 229 m4/ucs4-utf.m4 230 m4/ulonglong.m4 231 m4/unlocked-io.m4 232 m4/utf-ucs4.m4 233 m4/vasprintf.m4 234 m4/wchar_t.m4 235 m4/wcwidth.m4 236 m4/wint_t.m4 237 m4/xsize.m4 238 m4/xvasprintf.m4 239]) 240