Mercurial > octave-nkf
comparison configure.in @ 1445:024865a7629f
[project @ 1995-09-19 22:22:30 by jwe]
author | jwe |
---|---|
date | Tue, 19 Sep 1995 22:25:07 +0000 |
parents | f18474c64e72 |
children | 8aa535221fa1 |
comparison
equal
deleted
inserted
replaced
1444:6fadc0c560c9 | 1445:024865a7629f |
---|---|
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.136 $) | 23 AC_REVISION($Revision: 1.137 $) |
24 AC_PREREQ(2.0) | 24 AC_PREREQ(2.0) |
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) |
564 AC_HEADER_SYS_WAIT | 564 AC_HEADER_SYS_WAIT |
565 AC_CHECK_HEADERS(assert.h float.h floatingpoint.h limits.h memory.h) | 565 AC_CHECK_HEADERS(assert.h float.h floatingpoint.h limits.h memory.h) |
566 AC_CHECK_HEADERS(pwd.h stdlib.h string.h unistd.h varargs.h) | 566 AC_CHECK_HEADERS(pwd.h stdlib.h string.h unistd.h varargs.h) |
567 AC_CHECK_HEADERS(sys/fcntl.h sys/param.h sys/resource.h sys/select.h) | 567 AC_CHECK_HEADERS(sys/fcntl.h sys/param.h sys/resource.h sys/select.h) |
568 AC_CHECK_HEADERS(sys/stat.h sys/time.h sys/utsname.h) | 568 AC_CHECK_HEADERS(sys/stat.h sys/time.h sys/utsname.h) |
569 | 569 AC_CHECK_HEADERS(termios.h termio.h sgtty.h) |
570 ### Use sgtty on Ultrix so that using DEC Migrate to convert a Mips | |
571 ### binary to an Alpha binary will work. Also on Alpha/OSF to avoid | |
572 ### a readline bug. | |
573 | |
574 case "$canonical_host_type" in | |
575 mips-dec-ultrix* | alpha-dec-osf*) | |
576 AC_CHECK_HEADER(sgtty.h, [AC_DEFINE(HAVE_SGTTY_H, 1)], []) | |
577 | |
578 if test "$ac_cv_header_sgtty_h" = no; then | |
579 AC_CHECK_HEADERS(termios.h termio.h sgtty.h, [break], []) | |
580 fi | |
581 ;; | |
582 *) | |
583 AC_CHECK_HEADERS(termios.h termio.h sgtty.h, [break], []) | |
584 ;; | |
585 esac | |
586 | 570 |
587 if test "$ac_cv_header_termios_h" = yes \ | 571 if test "$ac_cv_header_termios_h" = yes \ |
588 || test "$ac_cv_header_termio_h" = yes \ | 572 || test "$ac_cv_header_termio_h" = yes \ |
589 || test "$ac_cv_header_sgtty_h" = yes; then | 573 || test "$ac_cv_header_sgtty_h" = yes; then |
590 true | 574 true |
596 | 580 |
597 AC_CHECK_FUNCS(setvbuf getcwd gethostname bzero bcopy rindex vfprintf vsprintf) | 581 AC_CHECK_FUNCS(setvbuf getcwd gethostname bzero bcopy rindex vfprintf vsprintf) |
598 AC_CHECK_FUNCS(stricmp strnicmp strcasecmp strncasecmp strerror atexit) | 582 AC_CHECK_FUNCS(stricmp strnicmp strcasecmp strncasecmp strerror atexit) |
599 AC_CHECK_FUNCS(on_exit tempnam memmove putenv getrusage) | 583 AC_CHECK_FUNCS(on_exit tempnam memmove putenv getrusage) |
600 AC_CHECK_FUNCS(mkdir rmdir rename umask) | 584 AC_CHECK_FUNCS(mkdir rmdir rename umask) |
585 AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend) | |
601 | 586 |
602 ### There is more than one possible prototype for gettimeofday. See | 587 ### There is more than one possible prototype for gettimeofday. See |
603 ### which one (if any) appears in sys/time.h. | 588 ### which one (if any) appears in sys/time.h. |
604 | 589 |
605 AC_CHECK_FUNC(gettimeofday, | 590 AC_CHECK_FUNC(gettimeofday, |
815 | 800 |
816 export CC | 801 export CC |
817 export CXX | 802 export CXX |
818 export F77 | 803 export F77 |
819 | 804 |
820 AC_CONFIG_SUBDIRS(kpathsea libcruft scripts $INFO_DIR $PLPLOT_DIR) | 805 AC_CONFIG_SUBDIRS(kpathsea libcruft scripts $INFO_DIR $PLPLOT_DIR $READLINE_DIR) |
821 | 806 |
822 ### Do the substitutions in all the Makefiles. | 807 ### Do the substitutions in all the Makefiles. |
823 | 808 |
824 define([tmpA], [Makefile octMakefile Makeconf])dnl | 809 define([tmpA], [Makefile octMakefile Makeconf])dnl |
825 define([tmpB], [liboctave/Makefile src/Makefile dld/Makefile])dnl | 810 define([tmpB], [liboctave/Makefile src/Makefile dld/Makefile])dnl |
826 define([tmpC], [readline/Makefile readline/doc/Makefile])dnl | 811 define([tmpC], [doc/Makefile test/Makefile])dnl |
827 define([tmpD], [readline/examples/Makefile doc/Makefile])dnl | 812 define([srcdirs], [tmpA tmpB tmpC])dnl |
828 define([tmpE], [test/Makefile])dnl | |
829 define([srcdirs], [tmpA tmpB tmpC tmpD tmpE])dnl | |
830 | 813 |
831 AC_OUTPUT([srcdirs]) | 814 AC_OUTPUT([srcdirs]) |
832 | 815 |
833 ### Print a summary so that important information isn't missed. | 816 ### Print a summary so that important information isn't missed. |
834 | 817 |