NTL_QQ.cc: add stdlib include for abort hidden in NTL_vector_impl
[barvinok.git] / m4 / gnulib-comp.m4
blob1b6378e6d1a7ebf064d56bb5193627c0e3e7e288
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])
32 # This macro should be invoked from ./configure.in, in the section
33 # "Check for header files, types and library functions".
34 AC_DEFUN([gl_INIT],
36   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
37   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
38   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
39   AM_CONDITIONAL([GL_COND_LIBTOOL], [true])
40   gl_cond_libtool=true
41   gl_source_base='lib'
42 changequote(,)dnl
43 LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
44 changequote([, ])dnl
45 AC_SUBST([LTALLOCA])
46   gl_FUNC_ALLOCA
47   gl_ARGP
48   gl_DIRNAME
49   gl_DOUBLE_SLASH_ROOT
50   gl_ERROR
51   gl_EXITFAIL
52   gl_FLOAT_H
53   gl_GETOPT
54   AC_SUBST([LIBINTL])
55   AC_SUBST([LTLIBINTL])
56   gl_INLINE
57   AC_FUNC_MALLOC
58   gl_FUNC_MALLOC_POSIX
59   gl_STDLIB_MODULE_INDICATOR([malloc-posix])
60   gl_FUNC_MEMPCPY
61   gl_STRING_MODULE_INDICATOR([mempcpy])
62   gl_SIZE_MAX
63   gl_FUNC_SLEEP
64   gl_UNISTD_MODULE_INDICATOR([sleep])
65   AM_STDBOOL_H
66   gl_STDINT_H
67   gl_STDIO_H
68   gl_STDLIB_H
69   gl_STRCASE
70   gl_FUNC_STRCHRNUL
71   gl_STRING_MODULE_INDICATOR([strchrnul])
72   gl_FUNC_STRERROR
73   gl_STRING_MODULE_INDICATOR([strerror])
74   gl_HEADER_STRING_H
75   gl_FUNC_STRNDUP
76   gl_STRING_MODULE_INDICATOR([strndup])
77   gl_FUNC_STRNLEN
78   gl_STRING_MODULE_INDICATOR([strnlen])
79   gl_SYSEXITS
80   gl_UNISTD_H
81   gl_FUNC_VASNPRINTF
82   gl_FUNC_VSNPRINTF
83   gl_STDIO_MODULE_INDICATOR([vsnprintf])
84   gl_WCHAR_H
85   gl_XALLOC
86   gl_XSIZE
87   gl_XSTRNDUP
88   m4_popdef([AC_LIBSOURCES])
89   m4_popdef([AC_REPLACE_FUNCS])
90   m4_popdef([AC_LIBOBJ])
91   AC_CONFIG_COMMANDS_PRE([
92     gl_libobjs=
93     gl_ltlibobjs=
94     if test -n "$gl_LIBOBJS"; then
95       # Remove the extension.
96       sed_drop_objext='s/\.o$//;s/\.obj$//'
97       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
98         gl_libobjs="$gl_libobjs $i.$ac_objext"
99         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
100       done
101     fi
102     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
103     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
104   ])
107 # Like AC_LIBOBJ, except that the module name goes
108 # into gl_LIBOBJS instead of into LIBOBJS.
109 AC_DEFUN([gl_LIBOBJ], [
110   AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
111   gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
114 # Like AC_REPLACE_FUNCS, except that the module name goes
115 # into gl_LIBOBJS instead of into LIBOBJS.
116 AC_DEFUN([gl_REPLACE_FUNCS], [
117   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
118   AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
121 # Like AC_LIBSOURCES, except the directory where the source file is
122 # expected is derived from the gnulib-tool parametrization,
123 # and alloca is special cased (for the alloca-opt module).
124 # We could also entirely rely on EXTRA_lib..._SOURCES.
125 AC_DEFUN([gl_LIBSOURCES], [
126   m4_foreach([_gl_NAME], [$1], [
127     m4_if(_gl_NAME, [alloca.c], [], [
128       m4_syscmd([test -r lib/]_gl_NAME[ || test ! -d lib])dnl
129       m4_if(m4_sysval, [0], [],
130         [AC_FATAL([missing lib/]_gl_NAME)])
131     ])
132   ])
135 # This macro records the list of files which have been installed by
136 # gnulib-tool and may be removed by future gnulib-tool invocations.
137 AC_DEFUN([gl_FILE_LIST], [
138   lib/alloca.c
139   lib/alloca.in.h
140   lib/argp-ba.c
141   lib/argp-eexst.c
142   lib/argp-fmtstream.c
143   lib/argp-fmtstream.h
144   lib/argp-fs-xinl.c
145   lib/argp-help.c
146   lib/argp-namefrob.h
147   lib/argp-parse.c
148   lib/argp-pin.c
149   lib/argp-pv.c
150   lib/argp-pvh.c
151   lib/argp-xinl.c
152   lib/argp.h
153   lib/asnprintf.c
154   lib/basename.c
155   lib/dirname.c
156   lib/dirname.h
157   lib/error.c
158   lib/error.h
159   lib/exitfail.c
160   lib/exitfail.h
161   lib/float+.h
162   lib/float.in.h
163   lib/getopt.c
164   lib/getopt.in.h
165   lib/getopt1.c
166   lib/getopt_int.h
167   lib/gettext.h
168   lib/malloc.c
169   lib/mempcpy.c
170   lib/printf-args.c
171   lib/printf-args.h
172   lib/printf-parse.c
173   lib/printf-parse.h
174   lib/progname.c
175   lib/progname.h
176   lib/size_max.h
177   lib/sleep.c
178   lib/stdbool.in.h
179   lib/stdint.in.h
180   lib/stdio.in.h
181   lib/stdlib.in.h
182   lib/strcasecmp.c
183   lib/strchrnul.c
184   lib/strerror.c
185   lib/string.in.h
186   lib/stripslash.c
187   lib/strncasecmp.c
188   lib/strndup.c
189   lib/strnlen.c
190   lib/sysexits.in.h
191   lib/unistd.in.h
192   lib/vasnprintf.c
193   lib/vasnprintf.h
194   lib/vsnprintf.c
195   lib/wchar.in.h
196   lib/xalloc-die.c
197   lib/xalloc.h
198   lib/xmalloc.c
199   lib/xsize.h
200   lib/xstrndup.c
201   lib/xstrndup.h
202   m4/absolute-header.m4
203   m4/alloca.m4
204   m4/argp.m4
205   m4/dirname.m4
206   m4/dos.m4
207   m4/double-slash-root.m4
208   m4/eoverflow.m4
209   m4/error.m4
210   m4/exitfail.m4
211   m4/extensions.m4
212   m4/float_h.m4
213   m4/getopt.m4
214   m4/gnulib-common.m4
215   m4/include_next.m4
216   m4/inline.m4
217   m4/intmax_t.m4
218   m4/inttypes_h.m4
219   m4/longlong.m4
220   m4/malloc.m4
221   m4/mempcpy.m4
222   m4/onceonly_2_57.m4
223   m4/size_max.m4
224   m4/sleep.m4
225   m4/stdbool.m4
226   m4/stdint.m4
227   m4/stdint_h.m4
228   m4/stdio_h.m4
229   m4/stdlib_h.m4
230   m4/strcase.m4
231   m4/strchrnul.m4
232   m4/strerror.m4
233   m4/string_h.m4
234   m4/strndup.m4
235   m4/strnlen.m4
236   m4/sysexits.m4
237   m4/ulonglong.m4
238   m4/unistd_h.m4
239   m4/vasnprintf.m4
240   m4/vsnprintf.m4
241   m4/wchar.m4
242   m4/wchar_t.m4
243   m4/wint_t.m4
244   m4/xalloc.m4
245   m4/xsize.m4
246   m4/xstrndup.m4