Mercurial > hg > octave-lyh
changeset 2034:91d90de50e4e
[project @ 1996-03-27 03:55:50 by jwe]
author | jwe |
---|---|
date | Wed, 27 Mar 1996 03:55:50 +0000 |
parents | ce456cebbd7f |
children | 809871abd06b |
files | configure.in |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -20,8 +20,8 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.179 $) -AC_PREREQ(2.0) +AC_REVISION($Revision: 1.180 $) +AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -547,11 +547,11 @@ elif $have_f2c; then AC_DEFINE(F77_APPEND_UNDERSCORE, 1) AC_MSG_RESULT([defining F77_APPEND_UNDERSCORE to be 1]) - AC_CHECK_LIB(f2c, main, FLIBS=-lf2c, [], -lm) + AC_CHECK_LIB(f2c, s_stop, FLIBS=-lf2c, [], -lm) if test -z "$FLIBS"; then - AC_CHECK_LIB(I77, main, FLIBS=-lI77, []) + AC_CHECK_LIB(I77, f_open, FLIBS=-lI77, []) if test -n "$FLIBS"; then - AC_CHECK_LIB(F77, main, FLIBS="$FLIBS -lF77", []) + AC_CHECK_LIB(F77, s_stop, FLIBS="$FLIBS -lF77", []) fi fi if test -z "$FLIBS"; then @@ -767,16 +767,16 @@ ### are often available. If they are missing, we try to replace them ### with functions from the BSD/NET2 math library. -AC_CHECK_LIB(sunmath, main) +AC_CHECK_LIB(sunmath, quiet_nan) dnl This is bogus. We shouldn't have to explicitly add libc too! case "$canonical_host_type" in *-*-linux*) - AC_CHECK_LIB(m, main, , , -lc) + AC_CHECK_LIB(m, sin, , , -lc) ;; *) - AC_CHECK_LIB(m, main) + AC_CHECK_LIB(m, sin) ;; esac @@ -811,7 +811,7 @@ TERMLIBS="" for termlib in termcap terminfo curses termlib; do - AC_CHECK_LIB(${termlib}, main, [TERMLIBS="${TERMLIBS} -l${termlib}"]) + AC_CHECK_LIB(${termlib}, tputs, [TERMLIBS="${TERMLIBS} -l${termlib}"]) case "${TERMLIBS}" in *-l${termlib}*) AC_MSG_RESULT([defining TERMLIBS to be $TERMLIBS])