comparison configure.in @ 2508:f8d5dbbbc50a

[project @ 1996-11-13 17:21:07 by jwe]
author jwe
date Wed, 13 Nov 1996 17:21:10 +0000
parents d4eb39779b88
children 2d39387e2f35
comparison
equal deleted inserted replaced
2507:bea4ff48d388 2508:f8d5dbbbc50a
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 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 ### 02111-1307, USA. 22 ### 02111-1307, USA.
23 23
24 AC_REVISION($Revision: 1.230 $) 24 AC_REVISION($Revision: 1.231 $)
25 AC_PREREQ(2.9) 25 AC_PREREQ(2.9)
26 AC_INIT(src/octave.cc) 26 AC_INIT(src/octave.cc)
27 AC_CONFIG_HEADER(config.h) 27 AC_CONFIG_HEADER(config.h)
28 28
29 AC_DEFINE(OCTAVE_SOURCE, 1) 29 AC_DEFINE(OCTAVE_SOURCE, 1)
610 AC_HEADER_DIRENT 610 AC_HEADER_DIRENT
611 AC_HEADER_TIME 611 AC_HEADER_TIME
612 AC_HEADER_SYS_WAIT 612 AC_HEADER_SYS_WAIT
613 613
614 AC_CHECK_HEADERS(assert.h curses.h fcntl.h float.h floatingpoint.h \ 614 AC_CHECK_HEADERS(assert.h curses.h fcntl.h float.h floatingpoint.h \
615 grp.h limits.h memory.h ncurses.h pwd.h sgtty.h stdlib.h string.h \ 615 grp.h ieeefp.h limits.h memory.h nan.h ncurses.h pwd.h sgtty.h \
616 sys/param.h sys/resource.h sys/select.h sys/stat.h sys/time.h \ 616 stdlib.h string.h sys/param.h sys/resource.h sys/select.h sys/stat.h \
617 sys/times.h sys/types.h sys/utsname.h termcap.h termio.h termios.h \ 617 sys/time.h sys/times.h sys/types.h sys/utsname.h termcap.h termio.h \
618 unistd.h varargs.h) 618 termios.h unistd.h varargs.h)
619 619
620 if test "$ac_cv_header_termios_h" = yes \ 620 if test "$ac_cv_header_termios_h" = yes \
621 || test "$ac_cv_header_termio_h" = yes \ 621 || test "$ac_cv_header_termio_h" = yes \
622 || test "$ac_cv_header_sgtty_h" = yes; then 622 || test "$ac_cv_header_sgtty_h" = yes; then
623 true 623 true
772 esac 772 esac
773 773
774 XCFLAGS="$CFLAGS" 774 XCFLAGS="$CFLAGS"
775 CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG" 775 CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG"
776 776
777 ### I am told that Inf and NaN don't work on m68k HP sytems. 777 ### I am told that Inf and NaN don't work on m68k HP sytems, and that
778 ### on SCO systems, isnan and isinf don't work, but they can be
779 ### replaced by something that does.
778 780
779 case "$canonical_host_type" in 781 case "$canonical_host_type" in
780 m68k-hp-hpux*) 782 m68k-hp-hpux*)
783 ;;
784 *-*-sco*)
785 AC_MSG_RESULT([defining SCO to be 1])
786 AC_DEFINE(SCO, 1)
787 AC_MSG_RESULT([forcing HAVE_ISINF for SCO])
788 AC_DEFINE(HAVE_ISINF, 1)
789 AC_MSG_RESULT([forcing HAVE_ISNAN for SCO])
790 AC_DEFINE(HAVE_ISNAN, 1)
781 ;; 791 ;;
782 *) 792 *)
783 AC_CHECK_FUNCS(finite isnan isinf infinity quiet_nan) 793 AC_CHECK_FUNCS(finite isnan isinf infinity quiet_nan)
784 ;; 794 ;;
785 esac 795 esac