Mercurial > octave
comparison configure.in @ 1070:999c1ecad9dd
[project @ 1995-01-25 17:02:03 by jwe]
author | jwe |
---|---|
date | Wed, 25 Jan 1995 17:02:03 +0000 |
parents | 5aaa1084a0c5 |
children | a58bb71b0429 |
comparison
equal
deleted
inserted
replaced
1069:5aaa1084a0c5 | 1070:999c1ecad9dd |
---|---|
19 ### | 19 ### |
20 ### You should have received a copy of the GNU General Public License | 20 ### You should have received a copy of the GNU General Public License |
21 ### along with Octave; see the file COPYING. If not, write to the Free | 21 ### along with Octave; see the file COPYING. If not, write to the Free |
22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | 23 |
24 AC_REVISION($Revision: 1.87 $) | 24 AC_REVISION($Revision: 1.88 $) |
25 AC_PREREQ(2.0) | 25 AC_PREREQ(2.0) |
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 | 28 |
29 AC_DEFINE(OCTAVE_SOURCE, 1) | 29 AC_DEFINE(OCTAVE_SOURCE, 1) |
542 ### Also check for some additional trig functions that aren't ANSI but | 542 ### Also check for some additional trig functions that aren't ANSI but |
543 ### are often available. If they are missing, we try to replace them | 543 ### are often available. If they are missing, we try to replace them |
544 ### with functions from the BSD/NET2 math library. | 544 ### with functions from the BSD/NET2 math library. |
545 | 545 |
546 AC_CHECK_LIB(sunmath, main) | 546 AC_CHECK_LIB(sunmath, main) |
547 AC_CHECK_LIB(m, main) | 547 |
548 dnl This is bogus. We shouldn't have to explicitly add libc too! | |
549 | |
550 case "$canonical_host_type" in | |
551 *-*-linux*) | |
552 AC_CHECK_LIB(m, main, , , -lc) | |
553 ;; | |
554 *) | |
555 AC_CHECK_LIB(m, main) | |
556 ;; | |
557 esac | |
548 | 558 |
549 XCFLAGS="$CFLAGS" | 559 XCFLAGS="$CFLAGS" |
550 CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG" | 560 CFLAGS="$CFLAGS $GCC_IEEE_FP_FLAG" |
551 | 561 |
552 ### Inf and NaN don't work with gcc on the Alpha yet. | 562 ### Inf and NaN don't work with gcc on the Alpha yet. |