Mercurial > octave-nkf
comparison configure.in @ 4388:a3020cb1fe0f
[project @ 2003-04-24 22:22:59 by jwe]
author | jwe |
---|---|
date | Thu, 24 Apr 2003 22:22:59 +0000 |
parents | f8373733d8f9 |
children | 286a3345aa8e |
comparison
equal
deleted
inserted
replaced
4387:dd0abcde160c | 4388:a3020cb1fe0f |
---|---|
20 ### along with Octave; see the file COPYING. If not, write to the Free | 20 ### along with Octave; see the file COPYING. If not, write to the Free |
21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
22 ### 02111-1307, USA. | 22 ### 02111-1307, USA. |
23 | 23 |
24 AC_INIT | 24 AC_INIT |
25 AC_REVISION($Revision: 1.425 $) | 25 AC_REVISION($Revision: 1.426 $) |
26 AC_PREREQ(2.52) | 26 AC_PREREQ(2.52) |
27 AC_CONFIG_SRCDIR([src/octave.cc]) | 27 AC_CONFIG_SRCDIR([src/octave.cc]) |
28 AC_CONFIG_HEADER(config.h) | 28 AC_CONFIG_HEADER(config.h) |
29 | 29 |
30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) | 30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) |
827 ### functions like gethostname and gettimeofday is in libsocket. | 827 ### functions like gethostname and gettimeofday is in libsocket. |
828 | 828 |
829 AC_CHECK_FUNCS(gethostname, [], [AC_CHECK_LIB(socket, gethostname)]) | 829 AC_CHECK_FUNCS(gethostname, [], [AC_CHECK_LIB(socket, gethostname)]) |
830 AC_CHECK_FUNCS(getpwnam, [], [AC_CHECK_LIB(sun, getpwnam)]) | 830 AC_CHECK_FUNCS(getpwnam, [], [AC_CHECK_LIB(sun, getpwnam)]) |
831 | 831 |
832 case "$canonical_host_type" in | |
833 *-*-cygwin* | *-*-mingw*) | |
834 AC_CHECK_LIB(wsock32, gethostname) | |
835 ;; | |
836 esac | |
837 | |
832 ### Type stuff. | 838 ### Type stuff. |
833 | 839 |
834 AC_TYPE_MODE_T | 840 AC_TYPE_MODE_T |
835 AC_TYPE_OFF_T | 841 AC_TYPE_OFF_T |
836 AC_TYPE_PID_T | 842 AC_TYPE_PID_T |