diff --git a/configure b/configure index ce4c31df49d7e47d8b04b2c47d2d03a8cc57996c..f454c1cae198a0383df078ab7b10474a5135fe67 100755 --- a/configure +++ b/configure @@ -3536,24 +3536,24 @@ else fi fi -echo "$as_me:$LINENO: checking for ./MathEval/matheval.c" >&5 -echo $ECHO_N "checking for ./MathEval/matheval.c... $ECHO_C" >&6 -if test "${ac_cv_file___MathEval_matheval_c+set}" = set; then +echo "$as_me:$LINENO: checking for ./MathEval/matheval.cpp" >&5 +echo $ECHO_N "checking for ./MathEval/matheval.cpp... $ECHO_C" >&6 +if test "${ac_cv_file___MathEval_matheval_cpp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else test "$cross_compiling" = yes && { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} { (exit 1); exit 1; }; } -if test -r "./MathEval/matheval.c"; then - ac_cv_file___MathEval_matheval_c=yes +if test -r "./MathEval/matheval.cpp"; then + ac_cv_file___MathEval_matheval_cpp=yes else - ac_cv_file___MathEval_matheval_c=no + ac_cv_file___MathEval_matheval_cpp=no fi fi -echo "$as_me:$LINENO: result: $ac_cv_file___MathEval_matheval_c" >&5 -echo "${ECHO_T}$ac_cv_file___MathEval_matheval_c" >&6 -if test $ac_cv_file___MathEval_matheval_c = yes; then +echo "$as_me:$LINENO: result: $ac_cv_file___MathEval_matheval_cpp" >&5 +echo "${ECHO_T}$ac_cv_file___MathEval_matheval_cpp" >&6 +if test $ac_cv_file___MathEval_matheval_cpp = yes; then MATHEVAL="yes" else MATHEVAL="no" diff --git a/configure.in b/configure.in index c56504112d566dc9703c7c8d0c976b5d1d3d68b1..c2008c066cc4eca2461477ba06fbd2b70d9c83cb 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.51 2004-05-12 02:02:20 geuzaine Exp $ +dnl $Id: configure.in,v 1.52 2004-05-12 06:05:52 geuzaine Exp $ dnl dnl Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle dnl @@ -244,7 +244,7 @@ else fi dnl Check for MathEval -AC_CHECK_FILE(./MathEval/matheval.c, MATHEVAL="yes", MATHEVAL="no") +AC_CHECK_FILE(./MathEval/matheval.cpp, MATHEVAL="yes", MATHEVAL="no") if test "x${MATHEVAL}" = "xyes"; then if test "x$enable_matheval" != "xno"; then GMSH_DIRS="${GMSH_DIRS} MathEval"