Update.
[libidn.git] / lib / gl / m4 / gnulib-comp.m4
blobe915710a4d0f755a171f89ff5c6009e28ef311cd
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2004-2007 Free Software Foundation, Inc.
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.
10 # Generated by gnulib-tool.
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.
18 # This macro should be invoked from ./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.
21 AC_DEFUN([lgl_EARLY],
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])
32 # This macro should be invoked from ./configure.ac, in the section
33 # "Check for header files, types and library functions".
34 AC_DEFUN([lgl_INIT],
36   m4_pushdef([AC_LIBOBJ], m4_defn([lgl_LIBOBJ]))
37   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([lgl_REPLACE_FUNCS]))
38   m4_pushdef([AC_LIBSOURCES], m4_defn([lgl_LIBSOURCES]))
39   AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
40   gl_cond_libtool=true
41   gl_source_base='lib/gl'
42   AM_ICONV
43   AM_STDBOOL_H
44   gl_STDINT_H
45   gl_FUNC_STRDUP
46   gl_STRING_MODULE_INDICATOR([strdup])
47   if test $gl_cond_libtool = false; then
48     gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
49     gl_libdeps="$gl_libdeps $LIBICONV"
50   fi
51   gl_HEADER_STRING_H
52   gl_FUNC_STRVERSCMP
53   gl_WCHAR_H
54   m4_popdef([AC_LIBSOURCES])
55   m4_popdef([AC_REPLACE_FUNCS])
56   m4_popdef([AC_LIBOBJ])
57   AC_CONFIG_COMMANDS_PRE([
58     lgl_libobjs=
59     lgl_ltlibobjs=
60     if test -n "$lgl_LIBOBJS"; then
61       # Remove the extension.
62       sed_drop_objext='s/\.o$//;s/\.obj$//'
63       for i in `for i in $lgl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
64         lgl_libobjs="$lgl_libobjs $i.$ac_objext"
65         lgl_ltlibobjs="$lgl_ltlibobjs $i.lo"
66       done
67     fi
68     AC_SUBST([lgl_LIBOBJS], [$lgl_libobjs])
69     AC_SUBST([lgl_LTLIBOBJS], [$lgl_ltlibobjs])
70   ])
73 # Like AC_LIBOBJ, except that the module name goes
74 # into lgl_LIBOBJS instead of into LIBOBJS.
75 AC_DEFUN([lgl_LIBOBJ],
76   [lgl_LIBOBJS="$lgl_LIBOBJS $1.$ac_objext"])
78 # Like AC_REPLACE_FUNCS, except that the module name goes
79 # into lgl_LIBOBJS instead of into LIBOBJS.
80 AC_DEFUN([lgl_REPLACE_FUNCS],
81   [AC_CHECK_FUNCS([$1], , [lgl_LIBOBJ($ac_func)])])
83 # Like AC_LIBSOURCES, except that it does nothing.
84 # We rely on EXTRA_lib..._SOURCES instead.
85 AC_DEFUN([lgl_LIBSOURCES],
86   [])
88 # This macro records the list of files which have been installed by
89 # gnulib-tool and may be removed by future gnulib-tool invocations.
90 AC_DEFUN([lgl_FILE_LIST], [
91   build-aux/config.rpath
92   build-aux/link-warning.h
93   lib/c-ctype.c
94   lib/c-ctype.h
95   lib/c-strcase.h
96   lib/c-strcasecmp.c
97   lib/c-strncasecmp.c
98   lib/gettext.h
99   lib/stdbool_.h
100   lib/stdint_.h
101   lib/strdup.c
102   lib/striconv.c
103   lib/striconv.h
104   lib/string_.h
105   lib/strverscmp.c
106   lib/strverscmp.h
107   lib/wchar_.h
108   m4/absolute-header.m4
109   m4/extensions.m4
110   m4/gnulib-common.m4
111   m4/iconv.m4
112   m4/lib-ld.m4
113   m4/lib-link.m4
114   m4/lib-prefix.m4
115   m4/longlong.m4
116   m4/stdbool.m4
117   m4/stdint.m4
118   m4/strdup.m4
119   m4/string_h.m4
120   m4/strverscmp.m4
121   m4/ulonglong.m4
122   m4/wchar.m4