From 859738571f778602a08864cb306b6516a468a951 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 22 May 2012 07:34:46 +0000 Subject: [PATCH] Update the detection of Scilab (new header) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13100 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 7e6e63844..57e33dade 100644 --- a/configure.in +++ b/configure.in @@ -982,9 +982,9 @@ else # First figure out what the name of Scilab is if test "x$SCILABBIN" = xyes; then -AC_CHECK_PROGS(SCILAB, scilab) + AC_CHECK_PROGS(SCILAB, scilab) else -SCILAB="$SCILABBIN" + SCILAB="$SCILABBIN" fi @@ -994,11 +994,11 @@ if test -n "$SCILAB"; then dirs="$SCILABINCDIR" SCILABEXT="" for i in $dirs; do - if test -r $i/scilab/stack.h; then + if test -r $i/scilab/api_scilab.h; then SCILABEXT="$i" break; fi - if test -r $i/scilab/scialab/stack.h; then + if test -r $i/scilab/scilab/api_scilab.h; then SCILABEXT="$i/scilab" break; fi