comparison configure.in @ 2470:1e673f0648b5

[project @ 1996-11-05 21:46:06 by jwe]
author jwe
date Tue, 05 Nov 1996 21:47:59 +0000
parents 5be3f6f5986a
children 7f99808d467d
comparison
equal deleted inserted replaced
2469:f201716926bb 2470:1e673f0648b5
18 ### 18 ###
19 ### You should have received a copy of the GNU General Public License 19 ### You should have received a copy of the GNU General Public License
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 02111-1307, USA. 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 22
23 AC_REVISION($Revision: 1.223 $) 23 AC_REVISION($Revision: 1.224 $)
24 AC_PREREQ(2.9) 24 AC_PREREQ(2.9)
25 AC_INIT(src/octave.cc) 25 AC_INIT(src/octave.cc)
26 AC_CONFIG_HEADER(config.h) 26 AC_CONFIG_HEADER(config.h)
27 27
28 AC_DEFINE(OCTAVE_SOURCE, 1) 28 AC_DEFINE(OCTAVE_SOURCE, 1)
424 AC_DEFINE(OCTAVE_LITE, 1) 424 AC_DEFINE(OCTAVE_LITE, 1)
425 fi 425 fi
426 AC_SUBST(OCTAVE_LITE) 426 AC_SUBST(OCTAVE_LITE)
427 427
428 ### special checks for odd OS specific things. 428 ### special checks for odd OS specific things.
429 ###
430 ### I am told that on some SCO systems, the only place to find some
431 ### functions like gethostname and gettimeofday is in libsocket.
429 432
430 AC_ISC_POSIX 433 AC_ISC_POSIX
431 AC_MINIX 434 AC_MINIX
432 AC_AIX 435 AC_AIX
433 AC_CHECK_LIB(sun, getpwnam) 436 AC_CHECK_LIB(sun, getpwnam)
437 AC_CHECK_LIB(socket, gethostname)
434 438
435 ### How big are ints and how are they oriented? These could probably 439 ### How big are ints and how are they oriented? These could probably
436 ### be eliminated in favor of run-time checks. 440 ### be eliminated in favor of run-time checks.
437 441
438 AC_CHECK_SIZEOF(short) 442 AC_CHECK_SIZEOF(short)
865 AC_TRY_LINK([#include <stdio.h>], 869 AC_TRY_LINK([#include <stdio.h>],
866 [extern char *sys_siglist[]; printf ("%s\n", sys_siglist[1]);], 870 [extern char *sys_siglist[]; printf ("%s\n", sys_siglist[1]);],
867 AC_MSG_RESULT(yes) 871 AC_MSG_RESULT(yes)
868 AC_DEFINE(HAVE_SYS_SIGLIST, 1), 872 AC_DEFINE(HAVE_SYS_SIGLIST, 1),
869 AC_MSG_RESULT(no)) 873 AC_MSG_RESULT(no))
874 OCTAVE_SIGNAL_CHECK
875 OCTAVE_REINSTALL_SIGHANDLERS
870 876
871 ### Type stuff. 877 ### Type stuff.
872 878
873 AC_TYPE_MODE_T 879 AC_TYPE_MODE_T
874 AC_TYPE_OFF_T 880 AC_TYPE_OFF_T