[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, branch_release-1-8, updated. release_1
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] GNU Guile branch, branch_release-1-8, updated. release_1-8-6-74-g8595534 |
Date: |
Sun, 05 Jul 2009 19:14:02 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=85955347ba78746c0c44ed2921a9df12daed07a5
The branch, branch_release-1-8 has been updated
via 85955347ba78746c0c44ed2921a9df12daed07a5 (commit)
via de8ab91a76277f669d2225396135d25da653cd7d (commit)
via 7747b2d4f0b08fac5cd08c26f9f8df7d00bf3e9c (commit)
from 3cd9d9bae293dfff820227735da1a68ba8cd59eb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 85955347ba78746c0c44ed2921a9df12daed07a5
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 5 21:13:51 2009 +0200
Enclose `bit-operations.test' in its own module.
* test-suite/tests/bit-operations.test: Use the `define-module' clause.
commit de8ab91a76277f669d2225396135d25da653cd7d
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 5 21:13:02 2009 +0200
Work around the lack of a vsnprintf(3) declaration on AIX 5.3.
* configure.in: Check for the vsnprintf(3) declaration.
* libguile/deprecation.c [!HAVE_DECL_VSNPRINTF]: Provide vsnprintf(3)
declaration. This is needed on `powerpc-ibm-aix5.3.0.0'.
commit 7747b2d4f0b08fac5cd08c26f9f8df7d00bf3e9c
Author: Ludovic Courtès <address@hidden>
Date: Sun Jul 5 21:10:35 2009 +0200
Fix the `BUILD_PTHREAD_SUPPORT' Automake conditional when not using pthread.
* configure.in: Set $build_pthread_support to "no" when thread support
isn't built. This fixes the `BUILD_PTHREAD_SUPPORT' Automake
conditional.
-----------------------------------------------------------------------
Summary of changes:
configure.in | 15 +++++++++------
libguile/deprecation.c | 6 ++++--
test-suite/tests/bit-operations.test | 7 ++++---
3 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/configure.in b/configure.in
index 59ebefc..217ac83 100644
--- a/configure.in
+++ b/configure.in
@@ -776,10 +776,12 @@ AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10
ctermid fesetround ftime
# only with `_XOPEN_SOURCE' or some such.
# flock - on Tru64 5.1b the declaration is available from <sys/fcntl.h>
# but only if `_BSD' is defined.
+# vsnprintf - on AIX 5.3, the declaration is only visible with
+# `_XOPEN_SOURCE >= 500' or `_ISOC99_SOURCE'.
#
AC_CHECK_HEADERS(crypt.h netdb.h pthread.h sys/param.h sys/resource.h
sys/file.h)
AC_CHECK_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass
sethostname gethostname)
-AC_CHECK_DECLS([sethostname, strncasecmp, unsetenv, hstrerror, cuserid, flock])
+AC_CHECK_DECLS([sethostname, strncasecmp, unsetenv, hstrerror, cuserid, flock,
vsnprintf])
# crypt() may or may not be available, for instance in some countries there
# are restrictions on cryptography.
@@ -1281,11 +1283,12 @@ case "$with_threads" in
build_pthread_support="yes"
- ACX_PTHREAD(CC="$PTHREAD_CC"
- LIBS="$PTHREAD_LIBS $LIBS"
- SCM_I_GSC_USE_PTHREAD_THREADS=1
- with_threads="pthreads",
- with_threads="null")
+ ACX_PTHREAD([CC="$PTHREAD_CC"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ SCM_I_GSC_USE_PTHREAD_THREADS=1
+ with_threads="pthreads"],
+ [with_threads="null"
+ build_pthread_support="no"])
old_CFLAGS="$CFLAGS"
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
diff --git a/libguile/deprecation.c b/libguile/deprecation.c
index b45d604..d4bde62 100644
--- a/libguile/deprecation.c
+++ b/libguile/deprecation.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -33,7 +33,9 @@
/* Windows defines. */
#ifdef __MINGW32__
-#define vsnprintf _vsnprintf
+# define vsnprintf _vsnprintf
+#elif !HAVE_DECL_VSNPRINTF
+extern int vsnprintf (char *, size_t, const char *, va_list);
#endif
diff --git a/test-suite/tests/bit-operations.test
b/test-suite/tests/bit-operations.test
index 8e35257..6326fa7 100644
--- a/test-suite/tests/bit-operations.test
+++ b/test-suite/tests/bit-operations.test
@@ -1,5 +1,5 @@
;;;; bit-operations.test --- bitwise operations on numbers -*- scheme -*-
-;;;; Copyright (C) 2000, 2001, 2003, 2006 Free Software Foundation, Inc.
+;;;; Copyright (C) 2000, 2001, 2003, 2006, 2009 Free Software Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -15,8 +15,9 @@
;;;; License along with this library; if not, write to the Free Software
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
-(use-modules (test-suite lib)
- (ice-9 documentation))
+(define-module (test-bit-operations)
+ :use-module (test-suite lib)
+ :use-module (ice-9 documentation))
;;;
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, branch_release-1-8, updated. release_1-8-6-74-g8595534,
Ludovic Courtès <=