unistr/u8-strstr tests: Avoid test failure with ASAN.
[gnulib.git] / modules / obstack
blob5c94894e8c97e3095d295695a09991c71068b3c9
1 Description:
2 Memory allocation, optimized for stack-like allocation patterns.
4 Files:
5 lib/obstack.in.h
6 lib/obstack.c
7 m4/obstack.m4
9 Depends-on:
10 gen-header
11 alignof         [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
12 gettext-h       [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
13 exitfail        [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
14 stdint          [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
15 stdlib          [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
17 configure.ac:
18 gl_FUNC_OBSTACK
19 gl_CONDITIONAL_HEADER([obstack.h])
20 gl_CONDITIONAL([GL_COND_OBJ_OBSTACK],
21                [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1])
22 AC_PROG_MKDIR_P
24 Makefile.am:
25 BUILT_SOURCES += $(OBSTACK_H)
27 # We need the following in order to create <obstack.h> when the system
28 # doesn't have one that works with any size object.
29 if GL_GENERATE_OBSTACK_H
30 obstack.h: obstack.in.h $(top_builddir)/config.status
31 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
32         $(gl_V_at)$(SED_HEADER_STDOUT) \
33               -e 's|@''REPLACE_OBSTACK''@|$(REPLACE_OBSTACK)|g' \
34               -e 's|@''SMALL_PTRDIFF_T''@|$(SMALL_PTRDIFF_T)|g' \
35               $(srcdir)/obstack.in.h > $@-t
36         $(AM_V_at)mv $@-t $@
37 else
38 obstack.h: $(top_builddir)/config.status
39         rm -f $@
40 endif
41 MOSTLYCLEANFILES += obstack.h obstack.h-t
43 if GL_COND_OBJ_OBSTACK
44 lib_SOURCES += obstack.c
45 endif
47 Include:
48 "obstack.h"
50 License:
51 LGPL
53 Maintainer:
54 all, glibc