mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-04 00:30:30 +02:00
Look for `strncasecmp' declaration.
This commit is contained in:
parent
9f386a6d9e
commit
6439b3dfd9
5 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-02-22 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Check whether `strncasecmp' is declared.
|
||||||
|
|
||||||
2008-02-16 Ludovic Courtès <ludo@gnu.org>
|
2008-02-16 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
Guile 1.8.4 released.
|
Guile 1.8.4 released.
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -11,6 +11,7 @@ Changes in 1.8.5 (since 1.8.4)
|
||||||
|
|
||||||
** `scm add_slot ()' no longer segfaults (fixes bug #22369)
|
** `scm add_slot ()' no longer segfaults (fixes bug #22369)
|
||||||
** Fixed build issue for GNU/Linux on IA64
|
** Fixed build issue for GNU/Linux on IA64
|
||||||
|
** Fixed build issue on NetBSD 1.6
|
||||||
|
|
||||||
|
|
||||||
Changes in 1.8.4 (since 1.8.3)
|
Changes in 1.8.4 (since 1.8.3)
|
||||||
|
|
|
@ -694,10 +694,12 @@ AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid fesetround ftime
|
||||||
# check this specifically, we need it for the timespec test below.
|
# check this specifically, we need it for the timespec test below.
|
||||||
# sethostname - the function itself check because it's not in mingw,
|
# sethostname - the function itself check because it's not in mingw,
|
||||||
# the DECL is checked because Solaris 10 doens't have in any header
|
# the DECL is checked because Solaris 10 doens't have in any header
|
||||||
|
# strncasecmp - on NetBSD 1.6 the symbol is available in libc but the
|
||||||
|
# declaration cannot be found
|
||||||
#
|
#
|
||||||
AC_CHECK_HEADERS(crypt.h netdb.h pthread.h sys/param.h sys/resource.h sys/file.h)
|
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_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass sethostname gethostname)
|
||||||
AC_CHECK_DECLS([sethostname])
|
AC_CHECK_DECLS([sethostname, strncasecmp])
|
||||||
|
|
||||||
# crypt() may or may not be available, for instance in some countries there
|
# crypt() may or may not be available, for instance in some countries there
|
||||||
# are restrictions on cryptography.
|
# are restrictions on cryptography.
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
2008-02-22 Ludovic Courtès <ludo@gnu.org>
|
2008-02-22 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
|
* read.c (strncasecmp): Add declaration when
|
||||||
|
`HAVE_DECL_STRNCASECMP' is undefined. Fixes compilation on
|
||||||
|
NetBSD 1.6.
|
||||||
|
|
||||||
* gc.c (scm_ia64_ar_bsp)[linux]: Don't discard `const' qualifier
|
* gc.c (scm_ia64_ar_bsp)[linux]: Don't discard `const' qualifier
|
||||||
of OPAQUE.
|
of OPAQUE.
|
||||||
|
|
||||||
|
|
|
@ -181,6 +181,10 @@ static SCM *scm_read_hash_procedures;
|
||||||
(((_chr) <= UCHAR_MAX) ? tolower (_chr) : (_chr))
|
(((_chr) <= UCHAR_MAX) ? tolower (_chr) : (_chr))
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HAVE_DECL_STRNCASECMP
|
||||||
|
extern int strncasecmp (char const *s1, char const *s2, size_t n);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRNCASECMP
|
#ifndef HAVE_STRNCASECMP
|
||||||
/* XXX: Use Gnulib's `strncasecmp ()'. */
|
/* XXX: Use Gnulib's `strncasecmp ()'. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue