Separate gnulib directories. Also update gnulib files.
[libidn.git] / gl / m4 / gnulib-comp.m4
blobfbfedad79cf76c43602dfd0387659fa2039d9eb9
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.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([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.ac, 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   AC_REQUIRE([gt_CSHARPCOMP])
40   AC_CONFIG_FILES([csharpcomp.sh:./csharpcomp.sh.in])
41   gl_ERROR
42   gl_GETOPT
43   gl_STDINT_H
44   gl_FUNC_STRDUP
45   gl_HEADER_UNISTD
46   m4_popdef([AC_REPLACE_FUNCS])
47   m4_popdef([AC_LIBOBJ])
48   AC_CONFIG_COMMANDS_PRE([
49     gl_libobjs=
50     gl_ltlibobjs=
51     if test -n "$gl_LIBOBJS"; then
52       for i in $gl_LIBOBJS; do
53         # Remove the extension.
54         sed_drop_objext='s/\.o$//;s/\.obj$//'
55         i=`echo "$i" | sed "$sed_drop_objext"`
56         gl_libobjs="$gl_libobjs $i.$ac_objext"
57         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
58       done
59     fi
60     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
61     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
62   ])
65 # Like AC_LIBOBJ, except that the module name goes
66 # into gl_LIBOBJS instead of into LIBOBJS.
67 AC_DEFUN([gl_LIBOBJ],
68   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
70 # Like AC_REPLACE_FUNCS, except that the module name goes
71 # into gl_LIBOBJS instead of into LIBOBJS.
72 AC_DEFUN([gl_REPLACE_FUNCS],
73   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
75 # This macro records the list of files which have been installed by
76 # gnulib-tool and may be removed by future gnulib-tool invocations.
77 AC_DEFUN([gl_FILE_LIST], [
78   build-aux/GNUmakefile
79   build-aux/csharpcomp.sh.in
80   build-aux/gendocs.sh
81   build-aux/gnupload
82   build-aux/maint.mk
83   doc/fdl.texi
84   doc/gendocs_template
85   doc/gpl.texi
86   doc/lgpl.texi
87   lib/dummy.c
88   lib/error.c
89   lib/error.h
90   lib/getopt.c
91   lib/getopt1.c
92   lib/getopt_.h
93   lib/getopt_int.h
94   lib/gettext.h
95   lib/stdint_.h
96   lib/strdup.c
97   lib/strdup.h
98   m4/absolute-header.m4
99   m4/csharp.m4
100   m4/csharpcomp.m4
101   m4/error.m4
102   m4/getopt.m4
103   m4/longlong.m4
104   m4/stdint.m4
105   m4/strdup.m4
106   m4/ulonglong.m4
107   m4/unistd_h.m4