]> git.cworth.org Git - gzip/blob - m4/gnulib-comp.m4
Imported Debian patch 1.3.12-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-2007 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='lib'
46   gl_ERROR
47   gl_EXITFAIL
48   gl_FCNTL_H
49   gl_FCNTL_SAFER
50   gl_MODULE_INDICATOR([fcntl-safer])
51   gl_GETOPT
52   AC_SUBST([LIBINTL])
53   AC_SUBST([LTLIBINTL])
54   gl_INLINE
55   gl_STAT_TIME
56   gl_STAT_BIRTHTIME
57   AM_STDBOOL_H
58   gl_STDLIB_H
59   gl_HEADER_SYS_STAT_H
60   AC_PROG_MKDIR_P
61   gl_HEADER_SYS_TIME_H
62   AC_PROG_MKDIR_P
63   gl_HEADER_TIME_H
64   gl_UNISTD_H
65   gl_UNISTD_SAFER
66   gl_UTIMENS
67   gl_XALLOC
68   gl_YESNO
69   LIBGZIP_LIBDEPS="$gl_libdeps"
70   AC_SUBST([LIBGZIP_LIBDEPS])
71   LIBGZIP_LTLIBDEPS="$gl_ltlibdeps"
72   AC_SUBST([LIBGZIP_LTLIBDEPS])
73   m4_popdef([AC_LIBSOURCES])
74   m4_popdef([AC_REPLACE_FUNCS])
75   m4_popdef([AC_LIBOBJ])
76   AC_CONFIG_COMMANDS_PRE([
77     gl_libobjs=
78     gl_ltlibobjs=
79     if test -n "$gl_LIBOBJS"; then
80       # Remove the extension.
81       sed_drop_objext='s/\.o$//;s/\.obj$//'
82       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
83         gl_libobjs="$gl_libobjs $i.$ac_objext"
84         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
85       done
86     fi
87     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
88     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
89   ])
90 ])
91
92 # Like AC_LIBOBJ, except that the module name goes
93 # into gl_LIBOBJS instead of into LIBOBJS.
94 AC_DEFUN([gl_LIBOBJ],
95   [gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"])
96
97 # Like AC_REPLACE_FUNCS, except that the module name goes
98 # into gl_LIBOBJS instead of into LIBOBJS.
99 AC_DEFUN([gl_REPLACE_FUNCS],
100   [AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])])
101
102 # Like AC_LIBSOURCES, except that it does nothing.
103 # We rely on EXTRA_lib..._SOURCES instead.
104 AC_DEFUN([gl_LIBSOURCES],
105   [])
106
107 # This macro records the list of files which have been installed by
108 # gnulib-tool and may be removed by future gnulib-tool invocations.
109 AC_DEFUN([gl_FILE_LIST], [
110   build-aux/link-warning.h
111   doc/fdl.texi
112   lib/creat-safer.c
113   lib/dup-safer.c
114   lib/error.c
115   lib/error.h
116   lib/exitfail.c
117   lib/exitfail.h
118   lib/fcntl--.h
119   lib/fcntl-safer.h
120   lib/fcntl_.h
121   lib/fd-safer.c
122   lib/getopt.c
123   lib/getopt1.c
124   lib/getopt_.h
125   lib/getopt_int.h
126   lib/gettext.h
127   lib/open-safer.c
128   lib/pipe-safer.c
129   lib/stat-time.h
130   lib/stat_.h
131   lib/stdbool_.h
132   lib/stdlib_.h
133   lib/sys_time_.h
134   lib/time_.h
135   lib/unistd--.h
136   lib/unistd-safer.h
137   lib/unistd_.h
138   lib/utimens.c
139   lib/utimens.h
140   lib/xalloc-die.c
141   lib/xalloc.h
142   lib/xmalloc.c
143   lib/yesno.c
144   lib/yesno.h
145   m4/absolute-header.m4
146   m4/error.m4
147   m4/exitfail.m4
148   m4/extensions.m4
149   m4/fcntl-safer.m4
150   m4/fcntl_h.m4
151   m4/getopt.m4
152   m4/gnulib-common.m4
153   m4/inline.m4
154   m4/stat-time.m4
155   m4/stdbool.m4
156   m4/stdlib_h.m4
157   m4/sys_stat_h.m4
158   m4/sys_time_h.m4
159   m4/time_h.m4
160   m4/unistd-safer.m4
161   m4/unistd_h.m4
162   m4/utimbuf.m4
163   m4/utimens.m4
164   m4/utimes.m4
165   m4/xalloc.m4
166   m4/yesno.m4
167 ])