diff options
author | Gary Houston <ghouston@arglist.com> | 1996-08-23 06:40:56 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 1996-08-23 06:40:56 +0000 |
commit | 14a7e04c88b085eabfde492517915fead1b86c0e (patch) | |
tree | 33d7618e4eaa65f0b55d7645e18a2642f99dba15 /libguile | |
parent | 7685f77cec609f3bf56611337c904d6b2dc81263 (diff) | |
download | guile-14a7e04c88b085eabfde492517915fead1b86c0e.tar.gz |
* 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.
Diffstat (limited to 'libguile')
-rw-r--r-- | libguile/ChangeLog | 11 | ||||
-rw-r--r-- | libguile/Makefile.in | 1 | ||||
-rwxr-xr-x | libguile/configure | 2 | ||||
-rw-r--r-- | libguile/configure.in | 2 | ||||
-rw-r--r-- | libguile/fports.c | 2 |
5 files changed, 15 insertions, 3 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 70624112e..5290fb9a9 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -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 diff --git a/libguile/Makefile.in b/libguile/Makefile.in index 13dc72d04..ef78c3527 100644 --- a/libguile/Makefile.in +++ b/libguile/Makefile.in @@ -274,6 +274,7 @@ c_files= alist.c \ srcprop.c \ stackchk.c \ stime.c \ + strerror.c \ strings.c \ strop.c \ strorder.c \ diff --git a/libguile/configure b/libguile/configure index da17349f3..017e2a3fc 100755 --- a/libguile/configure +++ b/libguile/configure @@ -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 diff --git a/libguile/configure.in b/libguile/configure.in index 457ca6464..87752989a 100644 --- a/libguile/configure.in +++ b/libguile/configure.in @@ -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 diff --git a/libguile/fports.c b/libguile/fports.c index fbd5eb443..6e1a895c8 100644 --- a/libguile/fports.c +++ b/libguile/fports.c @@ -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); } |