comparison configure.in @ 3897:efa508da7d5c

[project @ 2002-04-11 21:24:49 by jwe]
author jwe
date Thu, 11 Apr 2002 21:24:49 +0000
parents 56db014d8980
children 8389e78e67d4
comparison
equal deleted inserted replaced
3896:0486f50a8ecb 3897:efa508da7d5c
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 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 ### 02111-1307, USA. 22 ### 02111-1307, USA.
23 23
24 AC_INIT 24 AC_INIT
25 AC_REVISION($Revision: 1.355 $) 25 AC_REVISION($Revision: 1.356 $)
26 AC_PREREQ(2.52) 26 AC_PREREQ(2.52)
27 AC_CONFIG_SRCDIR([src/octave.cc]) 27 AC_CONFIG_SRCDIR([src/octave.cc])
28 AC_CONFIG_HEADER(config.h) 28 AC_CONFIG_HEADER(config.h)
29 29
30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) 30 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.])
460 AC_MSG_RESULT([defining FFLAGS to be $FFLAGS]) 460 AC_MSG_RESULT([defining FFLAGS to be $FFLAGS])
461 fi 461 fi
462 have_fortran_compiler=true 462 have_fortran_compiler=true
463 else 463 else
464 AC_CHECK_PROG(F2C, f2c, f2c, []) 464 AC_CHECK_PROG(F2C, f2c, f2c, [])
465 AC_ARG_VAR(F2C, [Fortran to C translator command])
466 AC_ARG_VAR(F2CFLAGS, [Fortran to C translator flags])
465 if test -n "$F2C"; then 467 if test -n "$F2C"; then
466 have_f2c=true 468 have_f2c=true
467 fi 469 fi
468 fi 470 fi
469 fi 471 fi
526 AC_MSG_ERROR([See the file INSTALL for more information.]) 528 AC_MSG_ERROR([See the file INSTALL for more information.])
527 fi 529 fi
528 530
529 FC=$F77 531 FC=$F77
530 AC_SUBST(FC) 532 AC_SUBST(FC)
531 AC_SUBST(F77)
532 AC_SUBST(FFLAGS)
533 AC_SUBST(FLIBS)
534 AC_SUBST(F2C)
535 AC_SUBST(F2CFLAGS)
536 AC_SUBST_FILE(f77_rules_frag) 533 AC_SUBST_FILE(f77_rules_frag)
537 534
538 ### Checks for BLAS and LAPACK libraries: 535 ### Checks for BLAS and LAPACK libraries:
539 # (Build subdirectories of libcruft if they aren't found on the system.) 536 # (Build subdirectories of libcruft if they aren't found on the system.)
540 537