mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* configure.in: don't append threads.doc to EXTRA_DOT_DOC_FILES,
since EXTRA_DOT_DOC_FILES is redefined later. define EXTRA_DOT_X_FILES and hand it to AC_SUBST. * sort.c (scm_sort): move sortvec variable to avoid a compiler warning when HAVE_ARRAYS is not defined. move len too. * Makefile.am (DOT_X_FILES): remove net_db.x, posix.x, socket.x. (EXTRA_DOT_X_FILES): let configure set the value. (DOT_DOC_FILES): remove net_db.doc, posix.doc, socket.doc.
This commit is contained in:
parent
c6c79933b5
commit
e9e225e5ac
5 changed files with 28 additions and 14 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-03-17 Gary Houston <ghouston@arglist.com>
|
||||
|
||||
* configure.in: don't append threads.doc to EXTRA_DOT_DOC_FILES,
|
||||
since EXTRA_DOT_DOC_FILES is redefined later. define
|
||||
EXTRA_DOT_X_FILES and hand it to AC_SUBST.
|
||||
|
||||
2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
|
||||
|
||||
* configure.in: Added header checks for crypt.h, sys/resource.h
|
||||
|
|
|
@ -471,7 +471,6 @@ if test "${THREAD_PACKAGE}" != "" ; then
|
|||
|
||||
## Include the Guile thread interface in the library...
|
||||
LIBOBJS="$LIBOBJS threads.o"
|
||||
EXTRA_DOT_DOC_FILES="$EXTRA_DOT_DOC_FILES threads.doc"
|
||||
|
||||
## ... and tell it which package to talk to.
|
||||
case "${THREAD_PACKAGE}" in
|
||||
|
@ -514,8 +513,9 @@ AC_PROG_AWK
|
|||
## given in LIBOBJS. We'll call it LIBLOBJS.
|
||||
LIBLOBJS="`echo ${LIBOBJS} | sed 's/\.o/.lo/g'`"
|
||||
|
||||
## We also need to create corresponding .doc files
|
||||
## We also need to create corresponding .doc and .x files
|
||||
EXTRA_DOT_DOC_FILES="`echo ${LIBOBJS} | sed 's/\.o/.doc/g'`"
|
||||
EXTRA_DOT_X_FILES="`echo ${LIBOBJS} | sed 's/\.o/.x/g'`"
|
||||
|
||||
AC_SUBST(GUILE_MAJOR_VERSION)
|
||||
AC_SUBST(GUILE_MINOR_VERSION)
|
||||
|
@ -532,6 +532,7 @@ AC_SUBST(GUILE_LIBS)
|
|||
AC_SUBST(AWK)
|
||||
AC_SUBST(LIBLOBJS)
|
||||
AC_SUBST(EXTRA_DOT_DOC_FILES)
|
||||
AC_SUBST(EXTRA_DOT_X_FILES)
|
||||
|
||||
# Support for "make check"
|
||||
test_suite_dir="`(cd $srcdir ; pwd)`/test-suite"
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
2001-03-17 Gary Houston <ghouston@arglist.com>
|
||||
|
||||
* sort.c (scm_sort): move sortvec variable to avoid a compiler
|
||||
warning when HAVE_ARRAYS is not defined. move len too.
|
||||
|
||||
* Makefile.am (DOT_X_FILES): remove net_db.x, posix.x, socket.x.
|
||||
(EXTRA_DOT_X_FILES): let configure set the value.
|
||||
(DOT_DOC_FILES): remove net_db.doc, posix.doc, socket.doc.
|
||||
|
||||
* gc.c (scm_must_malloc): changed the comment explaining when
|
||||
scm_must variants of malloc/free etc., should be used, based on
|
||||
explanation from Dirk Herrmann.
|
||||
|
|
|
@ -55,16 +55,15 @@ DOT_X_FILES = alist.x arbiters.x async.x backtrace.x boolean.x chars.x \
|
|||
continuations.x debug.x dynl.x dynwind.x environments.x eq.x \
|
||||
error.x eval.x evalext.x feature.x fluids.x fports.x gc.x goops.x \
|
||||
gsubr.x guardians.x hash.x hashtab.x hooks.x init.x ioext.x iselect.x \
|
||||
keywords.x lang.x list.x load.x macros.x mallocs.x modules.x net_db.x \
|
||||
numbers.x objects.x objprop.x options.x pairs.x ports.x posix.x print.x \
|
||||
keywords.x lang.x list.x load.x macros.x mallocs.x modules.x \
|
||||
numbers.x objects.x objprop.x options.x pairs.x ports.x print.x \
|
||||
procprop.x procs.x properties.x random.x rdelim.x read.x root.x \
|
||||
scmsigs.x script.x simpos.x smob.x socket.x sort.x srcprop.x \
|
||||
scmsigs.x script.x simpos.x smob.x sort.x srcprop.x \
|
||||
stackchk.x stacks.x stime.x strings.x strop.x strorder.x strports.x \
|
||||
struct.x symbols.x tag.x throw.x values.x variable.x vectors.x \
|
||||
version.x vports.x weaks.x
|
||||
|
||||
EXTRA_DOT_X_FILES = debug-malloc.x filesys.x net_db.x posix.x ramap.x \
|
||||
regex-posix.x socket.x threads.x unif.x
|
||||
EXTRA_DOT_X_FILES = @EXTRA_DOT_X_FILES@
|
||||
|
||||
DOT_DOC_FILES = alist.doc arbiters.doc async.doc backtrace.doc \
|
||||
boolean.doc chars.doc continuations.doc debug.doc dynl.doc \
|
||||
|
@ -72,10 +71,10 @@ DOT_DOC_FILES = alist.doc arbiters.doc async.doc backtrace.doc \
|
|||
feature.doc fluids.doc fports.doc gc.doc goops.doc gsubr.doc \
|
||||
guardians.doc hash.doc hashtab.doc hooks.doc init.doc ioext.doc \
|
||||
iselect.doc keywords.doc lang.doc list.doc load.doc macros.doc \
|
||||
mallocs.doc modules.doc net_db.doc numbers.doc objects.doc objprop.doc \
|
||||
options.doc pairs.doc ports.doc posix.doc print.doc procprop.doc \
|
||||
mallocs.doc modules.doc numbers.doc objects.doc objprop.doc \
|
||||
options.doc pairs.doc ports.doc print.doc procprop.doc \
|
||||
procs.doc properties.doc random.doc rdelim.doc read.doc root.doc \
|
||||
scmsigs.doc script.doc simpos.doc smob.doc socket.doc sort.doc \
|
||||
scmsigs.doc script.doc simpos.doc smob.doc sort.doc \
|
||||
srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc strop.doc \
|
||||
strorder.doc strports.doc struct.doc symbols.doc tag.doc throw.doc \
|
||||
values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc
|
||||
|
|
|
@ -751,14 +751,14 @@ SCM_DEFINE (scm_sort, "sort", 2, 0, 0,
|
|||
"elements. This is not a stable sort.")
|
||||
#define FUNC_NAME s_scm_sort
|
||||
{
|
||||
SCM sortvec; /* the vector we actually sort */
|
||||
long len; /* list/vector length */
|
||||
if (SCM_NULLP(items))
|
||||
return SCM_EOL;
|
||||
|
||||
SCM_VALIDATE_NIM (2,less);
|
||||
if (SCM_CONSP (items))
|
||||
{
|
||||
long len;
|
||||
|
||||
SCM_VALIDATE_LIST_COPYLEN (1,items,len);
|
||||
items = scm_list_copy (items);
|
||||
return scm_merge_list_step (&items, scm_cmp_function (less), less, len);
|
||||
|
@ -767,8 +767,9 @@ SCM_DEFINE (scm_sort, "sort", 2, 0, 0,
|
|||
/* support ordinary vectors even if arrays not available? */
|
||||
else if (SCM_VECTORP (items))
|
||||
{
|
||||
len = SCM_VECTOR_LENGTH (items);
|
||||
sortvec = scm_make_uve (len, scm_array_prototype (items));
|
||||
long len = SCM_VECTOR_LENGTH (items);
|
||||
SCM sortvec = scm_make_uve (len, scm_array_prototype (items));
|
||||
|
||||
scm_array_copy_x (items, sortvec);
|
||||
scm_restricted_vector_sort_x (sortvec,
|
||||
less,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue