]> git.cworth.org Git - gzip/blob - m4/gnulib-comp.m4
Imported Debian patch 1.3.9-1
[gzip] / m4 / gnulib-comp.m4
1 # -*- buffer-read-only: t -*- vi: set ro:
2 # DO NOT EDIT! GENERATED AUTOMATICALLY!
3 # DO NOT EDIT! GENERATED AUTOMATICALLY!
4 # Copyright (C) 2004-2006 Free Software Foundation, Inc.
5 #
6 # This file is free software, distributed under the terms of the GNU
7 # General Public License.  As a special exception to the GNU General
8 # Public License, this file may be distributed as part of a program
9 # that contains a configuration script generated by Autoconf, under
10 # the same distribution terms as the rest of that program.
11 #
12 # Generated by gnulib-tool.
13 #
14 # This file represents the compiled summary of the specification in
15 # gnulib-cache.m4. It lists the computed macro invocations that need
16 # to be invoked from configure.ac.
17 # In projects using CVS, this file can be treated like other built files.
18
19
20 # This macro should be invoked from ./configure.ac, in the section
21 # "Checks for programs", right after AC_PROG_CC, and certainly before
22 # any checks for libraries, header files, types and library functions.
23 AC_DEFUN([gl_EARLY],
24 [
25   m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
26   m4_pattern_allow([^gl_ES$])dnl a valid locale name
27   m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
28   m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
29   AC_REQUIRE([AC_PROG_RANLIB])
30   AC_REQUIRE([AC_GNU_SOURCE])
31   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
32 ])
33
34 # This macro should be invoked from ./configure.ac, in the section
35 # "Check for header files, types and library functions".
36 AC_DEFUN([gl_INIT],
37 [
38   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
39   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
40   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
41   AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
42   gl_cond_libtool=false
43   gl_libdeps=
44   gl_ltlibdeps=
45   gl_source_base='.#bootmp/lib'
46   gl_ERROR
47   gl_EXITFAIL
48   dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.
49   gl_FCNTL_H
50   gl_FCNTL_SAFER
51   gl_GETOPT
52   gl_INLINE
53   gl_STAT_TIME
54   AM_STDBOOL_H
55   gl_HEADER_SYS_STAT_H
56   gl_TIMESPEC
57   gl_HEADER_UNISTD
58   gl_UNISTD_SAFER
59   gl_UTIMENS
60   gl_XALLOC
61   gl_YESNO
62   LIBGZIP_LIBDEPS="$gl_libdeps"
63   AC_SUBST([LIBGZIP_LIBDEPS])
64   LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
65   AC_SUBST([LIBGZIP_LTLIBDEPS])
66   m4_popdef([AC_LIBSOURCES])
67   m4_popdef([AC_REPLACE_FUNCS])
68   m4_popdef([AC_LIBOBJ])
69   AC_CONFIG_COMMANDS_PRE([
70     gl_libobjs=
71     gl_ltlibobjs=
72     if test -n "$gl_LIBOBJS"; then
73       # Remove the extension.
74       sed_drop_objext='s/\.o$//;s/\.obj$//'
75       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
76         gl_libobjs="$gl_libobjs $i.$ac_objext"
77         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
78       done
79     fi
80     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
81     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
82   ])
83 ])
84
85 # Like AC_LIBOBJ, except that the module name goes
86 # into gl_LIBOBJS instead of into LIBOBJS.
87 AC_DEFUN([gl_LIBOBJ],
88   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
89
90 # Like AC_REPLACE_FUNCS, except that the module name goes
91 # into gl_LIBOBJS instead of into LIBOBJS.
92 AC_DEFUN([gl_REPLACE_FUNCS],
93   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
94
95 # Like AC_LIBSOURCES, except that it does nothing.
96 # We rely on EXTRA_lib..._SOURCES instead.
97 AC_DEFUN([gl_LIBSOURCES],
98   [])
99
100 # This macro records the list of files which have been installed by
101 # gnulib-tool and may be removed by future gnulib-tool invocations.
102 AC_DEFUN([gl_FILE_LIST], [
103   doc/fdl.texi
104   lib/creat-safer.c
105   lib/dup-safer.c
106   lib/error.c
107   lib/error.h
108   lib/exit.h
109   lib/exitfail.c
110   lib/exitfail.h
111   lib/fcntl--.h
112   lib/fcntl-safer.h
113   lib/fcntl_.h
114   lib/fd-safer.c
115   lib/getopt.c
116   lib/getopt1.c
117   lib/getopt_.h
118   lib/getopt_int.h
119   lib/gettext.h
120   lib/open-safer.c
121   lib/pipe-safer.c
122   lib/stat-time.h
123   lib/stat_.h
124   lib/stdbool_.h
125   lib/timespec.h
126   lib/unistd--.h
127   lib/unistd-safer.h
128   lib/utimens.c
129   lib/utimens.h
130   lib/xalloc-die.c
131   lib/xalloc.h
132   lib/xmalloc.c
133   lib/yesno.c
134   lib/yesno.h
135   m4/absolute-header.m4
136   m4/error.m4
137   m4/exitfail.m4
138   m4/extensions.m4
139   m4/fcntl-safer.m4
140   m4/fcntl_h.m4
141   m4/getopt.m4
142   m4/inline.m4
143   m4/stat-time.m4
144   m4/stdbool.m4
145   m4/sys_stat_h.m4
146   m4/timespec.m4
147   m4/unistd-safer.m4
148   m4/unistd_h.m4
149   m4/utimbuf.m4
150   m4/utimens.m4
151   m4/utimes.m4
152   m4/xalloc.m4
153   m4/yesno.m4
154 ])