Update.
[libtasn1.git] / gl / m4 / gnulib-comp.m4
blob36782392310eebe41787f60fa271e450650f555f
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.in, 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([gl_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])
30   dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
31   dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
32   dnl AC_PROG_CC_STDC arranges for this.  With older Autoconf AC_PROG_CC_STDC
33   dnl shouldn't hurt, though installers are on their own to set c99 mode.
34   AC_REQUIRE([AC_PROG_CC_STDC])
37 # This macro should be invoked from ./configure.in, in the section
38 # "Check for header files, types and library functions".
39 AC_DEFUN([gl_INIT],
41   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
42   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
43   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
44   AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
45   gl_cond_libtool=true
46   gl_source_base='gl'
47   gl_GETOPT
48   gl_FUNC_MEMMOVE
49   gl_FUNC_READ_FILE
50   gl_STDARG_H
51   gl_FUNC_STRDUP
52   gl_STRING_MODULE_INDICATOR([strdup])
53   gl_HEADER_STRING_H
54   gl_UNISTD_H
55   m4_popdef([AC_LIBSOURCES])
56   m4_popdef([AC_REPLACE_FUNCS])
57   m4_popdef([AC_LIBOBJ])
58   AC_CONFIG_COMMANDS_PRE([
59     gl_libobjs=
60     gl_ltlibobjs=
61     if test -n "$gl_LIBOBJS"; then
62       # Remove the extension.
63       sed_drop_objext='s/\.o$//;s/\.obj$//'
64       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
65         gl_libobjs="$gl_libobjs $i.$ac_objext"
66         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
67       done
68     fi
69     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
70     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
71   ])
74 # Like AC_LIBOBJ, except that the module name goes
75 # into gl_LIBOBJS instead of into LIBOBJS.
76 AC_DEFUN([gl_LIBOBJ],
77   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
79 # Like AC_REPLACE_FUNCS, except that the module name goes
80 # into gl_LIBOBJS instead of into LIBOBJS.
81 AC_DEFUN([gl_REPLACE_FUNCS],
82   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
84 # Like AC_LIBSOURCES, except that it does nothing.
85 # We rely on EXTRA_lib..._SOURCES instead.
86 AC_DEFUN([gl_LIBSOURCES],
87   [])
89 # This macro records the list of files which have been installed by
90 # gnulib-tool and may be removed by future gnulib-tool invocations.
91 AC_DEFUN([gl_FILE_LIST], [
92   build-aux/GNUmakefile
93   build-aux/gendocs.sh
94   build-aux/link-warning.h
95   build-aux/maint.mk
96   doc/gendocs_template
97   lib/getopt.c
98   lib/getopt1.c
99   lib/getopt_.h
100   lib/getopt_int.h
101   lib/gettext.h
102   lib/memmove.c
103   lib/progname.c
104   lib/progname.h
105   lib/read-file.c
106   lib/read-file.h
107   lib/strdup.c
108   lib/string_.h
109   lib/unistd_.h
110   lib/version-etc-fsf.c
111   lib/version-etc.c
112   lib/version-etc.h
113   m4/absolute-header.m4
114   m4/extensions.m4
115   m4/getopt.m4
116   m4/gnulib-common.m4
117   m4/memmove.m4
118   m4/read-file.m4
119   m4/stdarg.m4
120   m4/strdup.m4
121   m4/string_h.m4
122   m4/unistd_h.m4