comparison configure.in @ 830:0e9df7d20066

[project @ 1994-10-17 16:40:47 by jwe]
author jwe
date Mon, 17 Oct 1994 16:40:47 +0000
parents 85039b726047
children 3984a1e61ebc
comparison
equal deleted inserted replaced
829:48a1469b4e5e 830:0e9df7d20066
19 dnl 19 dnl
20 dnl You should have received a copy of the GNU General Public License 20 dnl You should have received a copy of the GNU General Public License
21 dnl along with Octave; see the file COPYING. If not, write to the Free 21 dnl along with Octave; see the file COPYING. If not, write to the Free
22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 dnl 23 dnl
24 AC_REVISION($Revision: 1.61 $)dnl 24 AC_REVISION($Revision: 1.62 $)dnl
25 AC_PREREQ(1.8)dnl 25 AC_PREREQ(1.8)dnl
26 AC_INIT(src/octave.cc) 26 AC_INIT(src/octave.cc)
27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) 27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h)
28 dnl 28 dnl
29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl 29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl
580 alpha-dec-osf*) 580 alpha-dec-osf*)
581 ;; 581 ;;
582 *) 582 *)
583 for func in finite isnan isinf 583 for func in finite isnan isinf
584 do 584 do
585 changequote(,)dnl
585 trfunc=`echo $func | tr '[a-z]' '[A-Z]'` 586 trfunc=`echo $func | tr '[a-z]' '[A-Z]'`
587 changequote([,])dnl
586 AC_FUNC_CHECK([$func], 588 AC_FUNC_CHECK([$func],
587 AC_DEFINE(HAVE_[$trfunc], 1), 589 AC_DEFINE(HAVE_[$trfunc], 1),
588 AC_COMPILE_CHECK([$func], [#include <math.h>], [ 590 AC_COMPILE_CHECK([$func], [#include <math.h>], [
589 /* The GNU C library defines this for functions which it implements 591 /* The GNU C library defines this for functions which it implements
590 to always fail with ENOSYS. Some functions are actually named 592 to always fail with ENOSYS. Some functions are actually named