Update gnulib files, don't require LGPL modules (the libtasn1 library doesn't use...
[libtasn1.git] / gl / m4 / gnulib-comp.m4
blob194bea6d19f6a716ebbbdd8ac6531857d95df1a0
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2004-2006 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])
30 # This macro should be invoked from ./configure.in, in the section
31 # "Check for header files, types and library functions".
32 AC_DEFUN([gl_INIT],
34   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
35   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
36   AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
37   gl_cond_libtool=true
38   gl_source_base='gl'
39   gl_GETOPT
40   gl_FUNC_MEMMOVE
41   gl_FUNC_STRDUP
42   gl_HEADER_UNISTD
43   m4_popdef([AC_REPLACE_FUNCS])
44   m4_popdef([AC_LIBOBJ])
45   AC_CONFIG_COMMANDS_PRE([
46     gl_libobjs=
47     gl_ltlibobjs=
48     if test -n "$gl_LIBOBJS"; then
49       for i in $gl_LIBOBJS; do
50         # Remove the extension.
51         sed_drop_objext='s/\.o$//;s/\.obj$//'
52         i=`echo "$i" | sed "$sed_drop_objext"`
53         gl_libobjs="$gl_libobjs $i.$ac_objext"
54         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
55       done
56     fi
57     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
58     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
59   ])
62 # Like AC_LIBOBJ, except that the module name goes
63 # into gl_LIBOBJS instead of into LIBOBJS.
64 AC_DEFUN([gl_LIBOBJ],
65   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
67 # Like AC_REPLACE_FUNCS, except that the module name goes
68 # into gl_LIBOBJS instead of into LIBOBJS.
69 AC_DEFUN([gl_REPLACE_FUNCS],
70   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
72 # This macro records the list of files which have been installed by
73 # gnulib-tool and may be removed by future gnulib-tool invocations.
74 AC_DEFUN([gl_FILE_LIST], [
75   build-aux/GNUmakefile
76   build-aux/gendocs.sh
77   build-aux/maint.mk
78   doc/gendocs_template
79   lib/dummy.c
80   lib/getopt.c
81   lib/getopt1.c
82   lib/getopt_.h
83   lib/getopt_int.h
84   lib/gettext.h
85   lib/memmove.c
86   lib/strdup.c
87   lib/strdup.h
88   m4/getopt.m4
89   m4/memmove.m4
90   m4/strdup.m4
91   m4/unistd_h.m4