Hash :
60e90236
Author :
Date :
2024-12-27T23:28:45
Rename module stdlib to stdlib-h. * modules/stdlib-h: Renamed from modules/stdlib. * modules/stdlib-h-tests: Renamed from modules/stdlib-tests. * modules/stdlib-h-c++-tests: Renamed from modules/stdlib-c++-tests. * tests/test-stdlib-h.c: Renamed from tests/test-stdlib.c. * tests/test-stdlib-h-c++.cc: Renamed from tests/test-stdlib-c++.cc. * tests/test-stdlib-h-c++2.cc: Renamed from tests/test-stdlib-c++2.cc. * doc/posix-headers/stdlib.texi: Update. * doc/posix-functions/exit.texi: Update. * modules/* (Depends-on): Update. * modules/stdlib: New file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
Description:
Memory allocation, optimized for stack-like allocation patterns.
Files:
lib/obstack.in.h
lib/obstack.c
m4/obstack.m4
Depends-on:
gen-header
alignof [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
gettext-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
gnulib-i18n [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
exitfail [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
stdint-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
stdlib-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
configure.ac:
gl_FUNC_OBSTACK
gl_CONDITIONAL_HEADER([obstack.h])
gl_CONDITIONAL([GL_COND_OBJ_OBSTACK],
[test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1])
AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(OBSTACK_H)
# We need the following in order to create <obstack.h> when the system
# doesn't have one that works with any size object.
if GL_GENERATE_OBSTACK_H
obstack.h: obstack.in.h $(top_builddir)/config.status
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
$(gl_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''REPLACE_OBSTACK''@|$(REPLACE_OBSTACK)|g' \
-e 's|@''SMALL_PTRDIFF_T''@|$(SMALL_PTRDIFF_T)|g' \
$(srcdir)/obstack.in.h > $@-t
$(AM_V_at)mv $@-t $@
else
obstack.h: $(top_builddir)/config.status
rm -f $@
endif
MOSTLYCLEANFILES += obstack.h obstack.h-t
if GL_COND_OBJ_OBSTACK
lib_SOURCES += obstack.c
endif
Include:
"obstack.h"
License:
LGPL
Maintainer:
all, glibc