Mercurial > hg > octave-nkf
comparison configure.in @ 1752:fdb963e9efff
[project @ 1996-01-19 18:38:22 by jwe]
author | jwe |
---|---|
date | Fri, 19 Jan 1996 18:38:22 +0000 |
parents | a00118041518 |
children | bfc349f6ad31 |
comparison
equal
deleted
inserted
replaced
1751:fc59af7ea536 | 1752:fdb963e9efff |
---|---|
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.152 $) | 23 AC_REVISION($Revision: 1.153 $) |
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) |
508 EOF | 508 EOF |
509 changequote([,])dnl | 509 changequote([,])dnl |
510 elif $have_f2c; then | 510 elif $have_f2c; then |
511 AC_DEFINE(F77_APPEND_UNDERSCORE, 1) | 511 AC_DEFINE(F77_APPEND_UNDERSCORE, 1) |
512 AC_MSG_RESULT([defining F77_APPEND_UNDERSCORE to be 1]) | 512 AC_MSG_RESULT([defining F77_APPEND_UNDERSCORE to be 1]) |
513 AC_CHECK_LIB(f2c, main, FLIBS=-lf2c, []) | 513 AC_CHECK_LIB(f2c, main, FLIBS=-lf2c, [], -lm) |
514 if test -z "$FLIBS"; then | 514 if test -z "$FLIBS"; then |
515 AC_CHECK_LIB(F77, main, FLIBS=-lF77, []) | 515 AC_CHECK_LIB(F77, main, FLIBS=-lF77, []) |
516 if test -n "$FLIBS"; then | 516 if test -n "$FLIBS"; then |
517 AC_CHECK_LIB(I77, main, FLIBS="$FLIBS -lI77", []) | 517 AC_CHECK_LIB(I77, main, FLIBS="$FLIBS -lI77", []) |
518 fi | 518 fi |