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:
parent
1d19873227
commit
859738571f
1 changed files with 4 additions and 4 deletions
|
|
@ -982,9 +982,9 @@ else
|
||||||
# First figure out what the name of Scilab is
|
# First figure out what the name of Scilab is
|
||||||
|
|
||||||
if test "x$SCILABBIN" = xyes; then
|
if test "x$SCILABBIN" = xyes; then
|
||||||
AC_CHECK_PROGS(SCILAB, scilab)
|
AC_CHECK_PROGS(SCILAB, scilab)
|
||||||
else
|
else
|
||||||
SCILAB="$SCILABBIN"
|
SCILAB="$SCILABBIN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -994,11 +994,11 @@ if test -n "$SCILAB"; then
|
||||||
dirs="$SCILABINCDIR"
|
dirs="$SCILABINCDIR"
|
||||||
SCILABEXT=""
|
SCILABEXT=""
|
||||||
for i in $dirs; do
|
for i in $dirs; do
|
||||||
if test -r $i/scilab/stack.h; then
|
if test -r $i/scilab/api_scilab.h; then
|
||||||
SCILABEXT="$i"
|
SCILABEXT="$i"
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
if test -r $i/scilab/scialab/stack.h; then
|
if test -r $i/scilab/scilab/api_scilab.h; then
|
||||||
SCILABEXT="$i/scilab"
|
SCILABEXT="$i/scilab"
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue