Mercurial > hg > octave-nkf
changeset 4388:a3020cb1fe0f
[project @ 2003-04-24 22:22:59 by jwe]
author | jwe |
---|---|
date | Thu, 24 Apr 2003 22:22:59 +0000 |
parents | dd0abcde160c |
children | fa9f6dde6c24 |
files | ChangeLog configure.in src/file-io.cc |
diffstat | 3 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> + + * configure.in: Look for wsock32 library on MinGW systems. + 2003-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in (OCTAVE_LOCAL_BUFFER): Always allocate temporary
--- a/configure.in +++ b/configure.in @@ -22,7 +22,7 @@ ### 02111-1307, USA. AC_INIT -AC_REVISION($Revision: 1.425 $) +AC_REVISION($Revision: 1.426 $) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -829,6 +829,12 @@ AC_CHECK_FUNCS(gethostname, [], [AC_CHECK_LIB(socket, gethostname)]) AC_CHECK_FUNCS(getpwnam, [], [AC_CHECK_LIB(sun, getpwnam)]) +case "$canonical_host_type" in + *-*-cygwin* | *-*-mingw*) + AC_CHECK_LIB(wsock32, gethostname) + ;; +esac + ### Type stuff. AC_TYPE_MODE_T