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
This commit is contained in:
Sylvestre Ledru 2012-05-22 07:34:46 +00:00
commit 859738571f

View file

@ -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