1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

* configure, scmconfig.h.in: Updated, using autoconf and autoheader.

* Makefile.in (c_files): add strerror.c.

	* strerror.c: new file from Emacs' sysdep.c.
	maybe configure should also check for sys_errlist.

	* configure.in (AC_REPLACE_FUNCS): add strerror.
This commit is contained in:
Gary Houston 1996-08-23 06:40:56 +00:00
parent 7685f77cec
commit 14a7e04c88
5 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,14 @@
Fri Aug 23 02:03:32 1996 Gary Houston <ghouston@actrix.gen.nz>
* configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* Makefile.in (c_files): add strerror.c.
* strerror.c: new file from Emacs' sysdep.c.
maybe configure should also check for sys_errlist.
* configure.in (AC_REPLACE_FUNCS): add strerror.
Fri Aug 23 03:02:46 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
* debug.c (scm_init_debug): Added initialization for

View file

@ -274,6 +274,7 @@ c_files= alist.c \
srcprop.c \
stackchk.c \
stime.c \
strerror.c \
strings.c \
strop.c \
strorder.c \

2
libguile/configure vendored
View file

@ -1501,7 +1501,7 @@ fi
done
for ac_func in inet_aton
for ac_func in inet_aton strerror
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then

View file

@ -44,7 +44,7 @@ AC_TYPE_MODE_T
AC_CHECK_FUNCS(ctermid ftime getcwd geteuid lstat mkdir mknod nice putenv readlink rename rmdir select setegid seteuid setlocale setpgid setsid strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid)
AC_REPLACE_FUNCS(inet_aton)
AC_REPLACE_FUNCS(inet_aton strerror)
AC_STRUCT_ST_RDEV
AC_STRUCT_ST_BLKSIZE

View file

@ -193,7 +193,7 @@ scm_open_file (filename, modes)
port = scm_mkfile (SCM_ROCHARS (filename), SCM_ROCHARS (modes));
if (port == SCM_BOOL_F) {
SCM_SYSERROR (s_open_file);
SCM_SYSERROR1 (s_open_file);
/* Force the compiler to keep filename and modes alive. */
scm_cons (filename, modes);
}