This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I recently build Guile (May 18th snapshot) on unixware. I had to make a
few changes to configure.in
Here is a diff of the two versions -
*** configure.in.old Fri May 29 14:36:53 1998
--- configure.in.new Fri May 29 15:13:52 1998
***************
*** 54,60 ****
AC_CHECK_LIB(m, main)
! AC_CHECK_FUNCS(gethostbyname)
! if test $ac_cv_func_gethostbyname = no; then
! AC_CHECK_LIB(nsl, gethostbyname)
fi
AC_CHECK_FUNCS(connect)
--- 54,60 ----
AC_CHECK_LIB(m, main)
! AC_CHECK_FUNCS(gethostent)
! if test $ac_cv_func_gethostent = no; then
! AC_CHECK_LIB(nsl, gethostent)
fi
AC_CHECK_FUNCS(connect)
***************
*** 248,254 ****
scm_cv_fd_setter="_file",
AC_TRY_COMPILE([#include <stdio.h>],
[stdout->_fileno = 1],
scm_cv_fd_setter="_fileno",
! scm_cv_fd_setter="")))
if test "$scm_cv_fd_setter"; then
--- 248,257 ----
scm_cv_fd_setter="_file",
AC_TRY_COMPILE([#include <stdio.h>],
+ [stdout->__file = 1],
+ scm_cv_fd_setter="__file",
+ AC_TRY_COMPILE([#include <stdio.h>],
[stdout->_fileno = 1],
scm_cv_fd_setter="_fileno",
! scm_cv_fd_setter=""))))
if test "$scm_cv_fd_setter"; then
***************
*** 277,280 ****
--- 280,286 ----
scm_cv_struct_file_count="_cnt",
AC_TRY_COMPILE([#include <stdio.h>],
+ [FILE *f = stdin; f->__cnt = 0],
+ scm_cv_struct_file_count="__cnt",
+ AC_TRY_COMPILE([#include <stdio.h>],
[FILE *f = stdin; f->_r = 0],
scm_cv_struct_file_count="_r",
***************
*** 282,286 ****
[FILE *f = stdin; f->readCount = 0],
scm_cv_struct_file_count="readCount",
! scm_cv_struct_file_count=""))))
if test "$scm_cv_struct_file_count"; then
AC_MSG_RESULT($scm_cv_struct_file_count)
--- 288,292 ----
[FILE *f = stdin; f->readCount = 0],
scm_cv_struct_file_count="readCount",
! scm_cv_struct_file_count="")))))
if test "$scm_cv_struct_file_count"; then
AC_MSG_RESULT($scm_cv_struct_file_count)