SEP #28 : Creating a function returning the tlist and mlist field names
SEP #29 : Datatips
SEP #30 : Change of header files directory in the Scilab distribution (linux)
-SEP #31 : Unit tests and submodules
\ No newline at end of file
+SEP #31 : Unit tests and submodules
+SEP #32 : Dynamic Link includes
+SEP #33 : POO
+SEP #34 : Call Scilab Header renamed
+SEP #35 : Selection of installed header
+SEP #36 : Pretty Print
+SEP #37 : Scilab Syntax
\ No newline at end of file
- Misc patches for Solaris
- Testing of Scilab under Solaris
+* Yuri Chornoivan
+ - Ukrainian localization
+
* Yann Collette
- Genetic algorithm
- Generic probabilistic meta-algorithm
-The latest stable version is Scilab 5.1.0, see file CHANGES_5.1.X.
+The latest stable version is Scilab 5.2.0, see file CHANGES_5.2.X.
Changes between version 5.2.0 and 5.2.1 of Scilab
- =================================================
+ =================================================
Text editor:
============
+* bug 5649 fixed - The Editor did not undo properly after a find/replace.
+
* bug 5651 fixed - closing find/replace box, remove highlights.
* bug 5707 fixed - cmd-e executed the wrong editor file.
+Internationalization:
+=====================
+
+* Ukrainian localization added (Thanks Yuri Chornoivan)
+
+* Many english typos have been fixed by (Thanks Yuri Chornoivan)
+
Xcos:
=====
-* The xml header of an xcos file is checked before any other parsing.
+* The XML header of an xcos file is now checked before any other parsing.
+
+* Superblock masks can now be used and a new window is created when user wants
+ to configure the variable settings.
+
+* Performance improvements under Linux
-* Superblock masks can now be used and a new window is created when user wants to configure the variable settings.
+* A rework to pass checkstyle metrics on the code has been started.
-* A rework to pass checkstyle metrics has been started.
+* Update to jgraphx version 1.2.0.7 has been performed.
* Refactoring:
- - The port position algorithm has been reworked to take in account default position and calculate placement according to it's default associated side.
- - The communication with the scilab interpreter is now easier to use and can be synchronous or asynchronous (with callback).
- - The simulation function identifier is now mapped to an enum to better follow java semantics.
- - Blocks instanciations are performed through a Factory and reference instances are shared.
- - Java package (eg namespace) has been added to reduce the number of classes per package and improve readability.
+ - The port position algorithm has been reworked to take in account default
+ position and calculate placement according to it's default associated
+ side.
+ - The communication with the scilab interpreter is now easier to use and can
+ be synchronous or asynchronous (with callback).
+ - The simulation function identifier is now mapped to an enum to better
+ follow java semantics.
+ - Blocks instanciations are performed through a Factory and reference
+ instances are shared.
+ - Java package (eg namespace) has been added to reduce the number of classes
+ per package and improve readability.
+ - org.scilab.modules.graph is independent from Xcos and can be safely used.
* bug 4206 fixed - The CreateMask action didn't generate a valid submatrix.
* bug 5626 fixed - The VoltageSensor port positions were not right.
-* bug 5627 fixed - It was not possible to place a port in a non-conventionnal side.
+* bug 5627 fixed - It was not possible to place a port in a non-conventionnal
+ side.
* bug 5660 fixed - An scicos block with negative simulation function type was
not working (espacially the ESELECT_f block).
* bug 5666 fixed - The CLKGOTO block wasn't valid anymore after setting
its parameters.
+* bug 5667 fixed - Simulation starts faster on Linux for huge diagram ( hdf5 export issue )
+
* bug 5683 fixed - Xcos code updated to work with jgraphx >= 1.2.0.X
* bug 5674 fixed - The Signal.notify didn't check is we are waiting for it
* bug 6414 fixed - Old Xcos diagrams without rotation fields didn't load.
+* bug 6415 fixed - The SAWTOOTH_f block didn't allow parameters.
+
+* bug 6463 fixed - The jgraphx library has been updated to 1.2.0.7.
+
+* bug 6490 fixed - The multiple-point link didn't work accordingly to the zoom level.
+
Atoms:
======
AC_JAVA_CHECK_VERSION_PACKAGE has been added to check the version of Java
packages used
-* Check of the version of jgraphx added (1.2.0.X)
+* Check of the version of jgraphx added (Min: 1.2.0.7)
+
+* Improved detection of Fedora/Redhat packages
+
+* Better detection of JOGL
+
+* When searching for Java packages files (jar), the oldest version was
+ selected. Now, lastest version are now selected.
-* bug 5503 fixed - add /usr/lib64/*/ in the search path when looking for Java
- libraries
+* bug 5503 fixed - add /usr/lib/*/ and /usr/lib64/*/ in the search path when
+ looking for Java libraries (Fedora 12 for example)
+
+* bug 6453 fixed - ImplicitPointerConversions was triggered by some Debian/
+ Ubuntu check tools
+
+Scilab extensions:
+==================
+
+* call_scilab: Complex examples have not been updated to use the new API Scilab.
+
+* API_Scilab: a presentation page of the feature have been added.
Bug fixes:
==========
* bug 5140 fixed - 'Load into Scilab' did not work as expected.
+* bug 5362 fixed - help type pointed to "Type" online help
+
+* bug 5413 fixed - help_from_sci was replacing the < > in the examples by
+ > and < causing issues in the build of documentation.
+
* bug 5513 fixed - 'input' failed after Ctrl+C was typed.
* bug 5659 fixed - emptystr changed the value of an input variable.
returned a error message on stderr previously
(5.1) there was no message.
+* bug 6399 fixed - m2sci failed and returs error 240.
+
* bug 6400 fixed - Msecs was not correctly handled in datevec/datenum functions
* bug 6420 fixed - It was not possible to use ax.x_ticks with LaTex commands.
* bug 6456 fixed - SCI & SCIHOME added in getdebuginfo list
-* bug 6461 fixed - Scilab External function executed by scifunction may make Scilab crash when they produce an error.
+* bug 6461 fixed - Scilab External function executed by scifunction may make
+ Scilab crash when they produce an error.
+
+* bug 6488 fixed - the API function 'createMatrixOfUnsignedInteger32' creates good Scilab type variable.
+
+* bug 6489 fixed - removed a wrong dependency on 'WININET.dll' (Windows).
+
+* bug 6491 fixed - libinter.h was not installed under Linux (SEP #35 updated)
Changes between version 5.2.0-beta1 and 5.2.0 of Scilab
==========================================================
* bug 5210 fixed - editor("SCI/etc/scilab.start") freezes Scilab.
* bug 5670 fixed - in the demo Latex with colored box, the sqrt symbol was not rendered correctly.
+
+* bug 6423 fixed - update the documentation of perctl.
+
+* bug 6468 fixed - wrong check in dnaupd.
+
+* bug 6495 fixed - in lqr, variable Q not defined.
--- /dev/null
+ Changes between version 5.2.X and 5.3.0 of Scilab
+ =================================================
+
+
+Core:
+=====
+
+* Faster access to primitive table (internal). This change improves the overall
+speed of Scilab.
+
+Xcos:
+=====
+
+* The default palettes can now be manipulated by the user.
+
+Bug fixes:
+==========
+
+* bug 6419 fixed - gstacksize() There was no way to retrieve minimum from scilab.
.NOTPARALLEL: macros doc
-CALL_SCILAB_CFLAGS_COMMON = -I$(top_srcdir)/modules/call_scilab/includes/ -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/modules/api_scilab/includes/
-CALL_SCILAB_LDADD_COMMON = $(top_builddir)/modules/libscilab.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/modules/call_scilab/libscicall_scilab.la
-
-# These binaries are built here and not in the call_scilab module because
-# we do need libscilab.so to exist before building these files
-# To build them, just launch "make check-am"
-# To run them, see the help of call Scilab in particular
-# "Compile and run with Call Scilab"
-check_PROGRAMS = call_scilab_c_simple call_scilab_c call_scilab_c_getlastjob call_scilab_c_DisableInteractiveMode call_scilab_readwriteboolean call_scilab_readwritecomplexmatrix call_scilab_readwritematrix call_scilab_readwritestring
-
-call_scilab_c_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/myprog.c
-call_scilab_c_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-
-call_scilab_c_simple_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/simple_call_scilab.c
-call_scilab_c_simple_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_simple_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_c_getlastjob_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/GetLastJob.c
-call_scilab_c_getlastjob_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_getlastjob_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_c_DisableInteractiveMode_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/DisableInteractiveMode.c
-call_scilab_c_DisableInteractiveMode_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_c_DisableInteractiveMode_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwriteboolean_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwriteboolean.c
-call_scilab_readwriteboolean_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwriteboolean_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritecomplexmatrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritecomplexmatrix.c
-call_scilab_readwritecomplexmatrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritecomplexmatrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritematrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritematrix.c
-call_scilab_readwritematrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritematrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
-
-call_scilab_readwritestring_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritestring.c
-call_scilab_readwritestring_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
-call_scilab_readwritestring_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+include $(top_srcdir)/Makefile.call_scilab.am
--- /dev/null
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) DIGITEO - 2010 - Sylvestre Ledru
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
+CALL_SCILAB_CFLAGS_COMMON = -I$(top_srcdir)/modules/call_scilab/includes/ -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/modules/api_scilab/includes/
+CALL_SCILAB_LDADD_COMMON = $(top_builddir)/modules/libscilab.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/modules/call_scilab/libscicall_scilab.la
+
+# These binaries are built here and not in the call_scilab module because
+# we do need libscilab.so to exist before building these files
+# To build them, just launch "make check-am"
+# To run them, see the help of call Scilab in particular
+# "Compile and run with Call Scilab"
+check_PROGRAMS = call_scilab_c_simple call_scilab_c call_scilab_c_getlastjob call_scilab_c_DisableInteractiveMode call_scilab_readwriteboolean call_scilab_readwritecomplexmatrix call_scilab_readwritematrix call_scilab_readwritestring
+
+call_scilab_c_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/myprog.c
+call_scilab_c_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+
+call_scilab_c_simple_SOURCES = $(top_srcdir)/modules/call_scilab/examples/call_scilab/c/common/simple_call_scilab.c
+call_scilab_c_simple_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_simple_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_c_getlastjob_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/GetLastJob.c
+call_scilab_c_getlastjob_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_getlastjob_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_c_DisableInteractiveMode_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/DisableInteractiveMode.c
+call_scilab_c_DisableInteractiveMode_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_c_DisableInteractiveMode_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwriteboolean_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwriteboolean.c
+call_scilab_readwriteboolean_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwriteboolean_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritecomplexmatrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritecomplexmatrix.c
+call_scilab_readwritecomplexmatrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritecomplexmatrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritematrix_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritematrix.c
+call_scilab_readwritematrix_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritematrix_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
+
+call_scilab_readwritestring_SOURCES = $(top_srcdir)/modules/call_scilab/examples/basicExamples/readwritestring.c
+call_scilab_readwritestring_CFLAGS = $(CALL_SCILAB_CFLAGS_COMMON)
+call_scilab_readwritestring_LDFLAGS = $(CALL_SCILAB_LDADD_COMMON)
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
+#
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) DIGITEO - 2010 - Sylvestre Ledru
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+#
+
VPATH = @srcdir@
# The user wants to compile the localization files
@GENERATE_LOCALIZATION_FILES_TRUE@am__append_3 = localization
-check_PROGRAMS = call_scilab_c_simple$(EXEEXT) call_scilab_c$(EXEEXT) \
- call_scilab_c_getlastjob$(EXEEXT) \
- call_scilab_c_DisableInteractiveMode$(EXEEXT) \
- call_scilab_readwriteboolean$(EXEEXT) \
- call_scilab_readwritecomplexmatrix$(EXEEXT) \
- call_scilab_readwritematrix$(EXEEXT) \
- call_scilab_readwritestring$(EXEEXT)
-subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/scilab-lib-doc.properties.in \
$(srcdir)/scilab-lib.properties.in $(srcdir)/scilab.pc.in \
- $(top_srcdir)/configure $(top_srcdir)/etc/classpath.xml.in \
+ $(top_srcdir)/Makefile.call_scilab.am $(top_srcdir)/configure \
+ $(top_srcdir)/etc/classpath.xml.in \
$(top_srcdir)/etc/jvm_options.xml.in \
$(top_srcdir)/etc/modules.xml.in \
$(top_srcdir)/modules/core/includes/machine.h.in \
COPYING config/compile config/config.guess config/config.rpath \
config/config.sub config/depcomp config/install-sh \
config/ltmain.sh config/missing config/mkinstalldirs
+check_PROGRAMS = call_scilab_c_simple$(EXEEXT) call_scilab_c$(EXEEXT) \
+ call_scilab_c_getlastjob$(EXEEXT) \
+ call_scilab_c_DisableInteractiveMode$(EXEEXT) \
+ call_scilab_readwriteboolean$(EXEEXT) \
+ call_scilab_readwritecomplexmatrix$(EXEEXT) \
+ call_scilab_readwritematrix$(EXEEXT) \
+ call_scilab_readwritestring$(EXEEXT)
+subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
$(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
.SUFFIXES: .c .lo .o .obj
am--refresh:
@:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.call_scilab.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
-The latest stable version is Scilab 5.1.0, see file RELEASE_NOTES_5.1.X.
+The latest stable version is Scilab 5.2.0, see file RELEASE_NOTES_5.2.X.
SCIVERSION=Scilab-MPI-GIT
+
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
-[m4_warning([this file was generated for autoconf 2.64.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
+[m4_warning([this file was generated for autoconf 2.65.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
#! /bin/sh
# From configure.ac Revision.
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for Scilab 5.
+# Generated by GNU Autoconf 2.65 for Scilab 5.
#
# Report bugs to <http://bugzilla.scilab.org/>.
#
+#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+#
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
SHELL=${CONFIG_SHELL-/bin/sh}
-exec 7<&0 </dev/null 6>&1
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
PKG_CONFIG path to pkg-config utility
if $ac_init_version; then
cat <<\_ACEOF
Scilab configure 5
-generated by GNU Autoconf 2.64
+generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_c_try_compile
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_c_try_cpp
fi
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_c_try_run
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_c_try_link
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_f77_try_compile
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_c_compute_int
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_cxx_try_compile
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_cxx_try_cpp
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_cxx_try_link
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
+ as_fn_set_status $ac_retval
} # ac_fn_f77_try_link
cat >config.log <<_ACEOF
running configure, to aid debugging if configure makes a mistake.
It was created by Scilab $as_me 5, which was
-generated by GNU Autoconf 2.64. Invocation command line was
+generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
done
if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
$as_echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <stdio.h>
+
int
main ()
{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
# The possible output files:
else
ac_file=''
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
if test -z "$ac_file"; then :
- $as_echo "$as_me: failed program was:" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
{ as_fn_set_status 77
as_fn_error "C compiler cannot create executables
See \`config.log' for more details." "$LINENO" 5; }; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
ac_exeext=$ac_cv_exeext
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
- if { ac_try='./$ac_file'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." "$LINENO" 5; }
- fi
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
$as_echo_n "checking for suffix of executables... " >&6; }
if { { ac_try="$ac_link"
as_fn_error "cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." "$LINENO" 5; }
fi
-rm -f conftest$ac_cv_exeext
+rm -f conftest conftest$ac_cv_exeext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
$as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then :
fi
+ test -d ./--version && rmdir ./--version
if test "${ac_cv_path_mkdir+set}" = set; then
MKDIR_P="$ac_cv_path_mkdir -p"
else
# value for MKDIR_P within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the value is a relative name.
- test -d ./--version && rmdir ./--version
MKDIR_P="$ac_install_sh -d"
fi
fi
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
- rm -f conftest.er1 conftest.err
fi
+ rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
$as_echo_n "checking to see if the java compiler works... " >&6; }
cat << \EOF > conftest.java
-// #line 9823 "configure"
+// #line 9850 "configure"
public class conftest {
if test "x$ac_java_jvm_name" = "x" ; then
cat << \EOF > conftest.java
-// #line 9883 "configure"
+// #line 9910 "configure"
import gnu.java.io.EncodingManager;
public class conftest {
cat << \EOF > conftest.java
-// #line 9941 "configure"
+// #line 9968 "configure"
import java.nio.charset.Charset;
public class conftest {
cat << \EOF > conftest.java
-// #line 9980 "configure"
+// #line 10007 "configure"
import java.lang.StringBuilder;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jgraphx.jar" "$jardir/libjgraphx.jar" "$jardir/libjgraphx-java.jar" "$jardir/jgraphx*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11229 "configure"
+// #line 11256 "configure"
import com.mxgraph.model.mxCell;
public class conftest {
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking minimal version (1.2.0.0) of jgraphx" >&5
-$as_echo_n "checking minimal version (1.2.0.0) of jgraphx... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking minimal version (1.2.0.7) of jgraphx" >&5
+$as_echo_n "checking minimal version (1.2.0.7) of jgraphx... " >&6; }
saved_ac_java_classpath=$ac_java_classpath
export ac_java_classpath="$JGRAPHX:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11310 "configure"
+// #line 11337 "configure"
import com.mxgraph.view.mxGraph;
public class conftest {
public static void main(String[] argv) {
- String minVersion="1.2.0.0";
+ String minVersion="1.2.0.7";
if (minVersion.compareTo(mxGraph.VERSION) > 0) {
System.exit(-1);
}
echo "configure: failed program was:" >&5
cat conftest.java >&5
echo "configure: CLASSPATH was $CLASSPATH" >&5
- as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.0" "$LINENO" 5
+ as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.7" "$LINENO" 5
fi
fi
else
echo "configure: failed program was:" >&5
cat conftest.java >&5
echo "configure: CLASSPATH was $CLASSPATH" >&5
- as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.0" "$LINENO" 5
+ as_fn_error "Wrong version of jgraphx. Expected at least 1.2.0.7" "$LINENO" 5
fi
ac_java_classpath=$saved_ac_java_classpath
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/flexdock.jar" "$jardir/libflexdock.jar" "$jardir/libflexdock-java.jar" "$jardir/flexdock*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11373 "configure"
+// #line 11400 "configure"
import org.flexdock.docking.DockingManager;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/looks.jar" "$jardir/liblooks.jar" "$jardir/liblooks-java.jar" "$jardir/looks*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11467 "configure"
+// #line 11494 "configure"
import com.jgoodies.looks.common.RenderingUtils;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jgoodies-looks.jar" "$jardir/libjgoodies-looks.jar" "$jardir/libjgoodies-looks-java.jar" "$jardir/jgoodies-looks*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11561 "configure"
+// #line 11588 "configure"
import com.jgoodies.looks.common.RenderingUtils;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/skinlf.jar" "$jardir/libskinlf.jar" "$jardir/libskinlf-java.jar" "$jardir/skinlf*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11656 "configure"
+// #line 11683 "configure"
import com.l2fprod.util.AccessUtils;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jogl.jar" "$jardir/libjogl.jar" "$jardir/libjogl-java.jar" "$jardir/jogl*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11750 "configure"
+// #line 11777 "configure"
import javax.media.opengl.glu.GLUnurbs;
public class conftest {
$as_echo "$as_me: WARNING: Could not link against -ljogl. Will try against -ljogl -lGL" >&2;}
fi
- if test -z "JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
+ if test -z "$JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
LDFLAGS="$LDFLAGS -lGL "
# the space after "jogl" in the following line is on
# purpose to disable the cache
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/gluegen-rt.jar" "$jardir/libgluegen-rt.jar" "$jardir/libgluegen-rt-java.jar" "$jardir/gluegen-rt*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 11944 "configure"
+// #line 11971 "configure"
import com.sun.gluegen.runtime.CPU;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jhall.jar" "$jardir/libjhall.jar" "$jardir/libjhall-java.jar" "$jardir/jhall*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12093 "configure"
+// #line 12120 "configure"
import javax.help.JHelp;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/javahelp2.jar" "$jardir/libjavahelp2.jar" "$jardir/libjavahelp2-java.jar" "$jardir/javahelp2*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12187 "configure"
+// #line 12214 "configure"
import javax.help.JHelp;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jrosetta-API.jar" "$jardir/libjrosetta-API.jar" "$jardir/libjrosetta-API-java.jar" "$jardir/jrosetta-API*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12282 "configure"
+// #line 12309 "configure"
import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jrosetta-engine.jar" "$jardir/libjrosetta-engine.jar" "$jardir/libjrosetta-engine-java.jar" "$jardir/jrosetta-engine*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12376 "configure"
+// #line 12403 "configure"
import com.artenum.rosetta.core.action.AbstractConsoleAction;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jhdf5.jar" "$jardir/libjhdf5.jar" "$jardir/libjhdf5-java.jar" "$jardir/jhdf5*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12471 "configure"
+// #line 12498 "configure"
import ncsa.hdf.hdf5lib.HDF5Constants;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/commons-logging.jar" "$jardir/libcommons-logging.jar" "$jardir/libcommons-logging-java.jar" "$jardir/commons-logging*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12566 "configure"
+// #line 12593 "configure"
import org.apache.commons.logging.LogFactory;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jlatexmath.jar" "$jardir/libjlatexmath.jar" "$jardir/libjlatexmath-java.jar" "$jardir/jlatexmath*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12660 "configure"
+// #line 12687 "configure"
import org.scilab.forge.jlatexmath.TeXFormula;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/checkstyle.jar" "$jardir/libcheckstyle.jar" "$jardir/libcheckstyle-java.jar" "$jardir/checkstyle*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12760 "configure"
+// #line 12787 "configure"
import com.puppycrawl.tools.checkstyle.CheckStyleTask;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/commons-beanutils.jar" "$jardir/libcommons-beanutils.jar" "$jardir/libcommons-beanutils-java.jar" "$jardir/commons-beanutils*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12854 "configure"
+// #line 12881 "configure"
import org.apache.commons.beanutils.Converter;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/antlr.jar" "$jardir/libantlr.jar" "$jardir/libantlr-java.jar" "$jardir/antlr*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 12948 "configure"
+// #line 12975 "configure"
import antlr.TokenStreamException;
public class conftest {
# function stat used in modules/core/src/c/link_std.c
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
-$as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
$as_echo_n "(cached) " >&6
else
main ()
{
struct stat sbuf;
- /* Linux will dereference the symlink and fail.
+ /* Linux will dereference the symlink and fail, as required by POSIX.
That is better in the sense that it means we will not
have to compile and use the lstat wrapper. */
return lstat ("conftest.sym/", &sbuf) == 0;
_ACEOF
-if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
case " $LIBOBJS " in
*" lstat.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
## Test for gettext
#######################
-ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT"
+ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA"
# Check whether --enable-build-localization was given.
if test "${enable_build_localization+set}" = set; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later" >&5
$as_echo_n "checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later... " >&6; }
cat > conftest.$ac_ext <<EOF
-#line 21161 "configure"
+#line 21188 "configure"
#include "confdefs.h"
#include "$CHK_TCL_INCLUDE_PATH/$CHK_TCL_INC_NAME"
$as_echo_n "checking if tk is version $CHK_TK_MAJOR.$CHK_TK_MINOR or later... " >&6; }
cat > conftest.$ac_ext <<EOF
-#line 21473 "configure"
+#line 21500 "configure"
#include "confdefs.h"
#include "$CHK_TK_INCLUDE_PATH/$CHK_TK_INC_NAME"
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/batik-all.jar" "$jardir/libbatik-all.jar" "$jardir/libbatik-all-java.jar" "$jardir/batik-all*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22054 "configure"
+// #line 22081 "configure"
import org.apache.batik.parser.Parser;
public class conftest {
if test "$found_jar" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- if test "" = "yes"; then
+ if test ""yes"" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar batik-all used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&5
$as_echo "$as_me: WARNING: Could not find or use the Java package/jar batik-all used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&2;}
else
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/batik.jar" "$jardir/libbatik.jar" "$jardir/libbatik-java.jar" "$jardir/batik*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22148 "configure"
+// #line 22175 "configure"
import org.apache.batik.parser.Parser;
public class conftest {
if test "$found_jar" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- if test ""yes"" = "yes"; then
+ if test "" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar batik used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&5
$as_echo "$as_me: WARNING: Could not find or use the Java package/jar batik used by Apache SVG Library (looking for package org.apache.batik.parser.Parser)" >&2;}
else
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/saxon.jar" "$jardir/libsaxon.jar" "$jardir/libsaxon-java.jar" "$jardir/saxon*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22244 "configure"
+// #line 22271 "configure"
import com.icl.saxon.Loader;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/fop.jar" "$jardir/libfop.jar" "$jardir/libfop-java.jar" "$jardir/fop*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22338 "configure"
+// #line 22365 "configure"
import org.apache.fop.pdf.PDFInfo;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/jeuclid-core.jar" "$jardir/libjeuclid-core.jar" "$jardir/libjeuclid-core-java.jar" "$jardir/jeuclid-core*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22432 "configure"
+// #line 22459 "configure"
import net.sourceforge.jeuclid.LayoutContext;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/commons-io.jar" "$jardir/libcommons-io.jar" "$jardir/libcommons-io-java.jar" "$jardir/commons-io*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22526 "configure"
+// #line 22553 "configure"
import org.apache.commons.io.output.CountingOutputStream;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/xmlgraphics-commons.jar" "$jardir/libxmlgraphics-commons.jar" "$jardir/libxmlgraphics-commons-java.jar" "$jardir/xmlgraphics-commons*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22620 "configure"
+// #line 22647 "configure"
import org.apache.xmlgraphics.util.Service;
public class conftest {
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/xml-apis-ext.jar" "$jardir/libxml-apis-ext.jar" "$jardir/libxml-apis-ext-java.jar" "$jardir/xml-apis-ext*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22714 "configure"
+// #line 22741 "configure"
import org.w3c.dom.svg.SVGDocument;
public class conftest {
if test "$found_jar" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- if test "" = "yes"; then
+ if test ""yes"" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar xml-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&5
$as_echo "$as_me: WARNING: Could not find or use the Java package/jar xml-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&2;}
else
XML_APIS_EXT=$PACKAGE_JAR_FILE
+ if test -z "$XML_APIS_EXT"; then
+ # Other other distribs (Ex: Fedora/Redhat)
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking xml-commons-apis-ext" >&5
+$as_echo_n "checking xml-commons-apis-ext... " >&6; }
+ PACKAGE_JAR_FILE=
+ found_jar=no
+ saved_ac_java_classpath=$ac_java_classpath
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
+ for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
+ for jar in "$jardir/xml-commons-apis-ext.jar" "$jardir/libxml-commons-apis-ext.jar" "$jardir/libxml-commons-apis-ext-java.jar" "$jardir/xml-commons-apis-ext*.jar"; do
+# jar=`echo $jar|sed -e 's/ /\\ /'`
+# echo "protected $jar"
+# jar_resolved=`ls $jar 2>/dev/null`
+# echo "looking for $jar_resolved"
+# TODO check the behaviour when spaces
+ jar_resolved=`ls -r $jar 2>/dev/null`
+ if test -e "$jar_resolved"; then
+ export ac_java_classpath="$jar_resolved:$ac_java_classpath"
+
+ cat << \EOF > conftest.java
+// #line 22835 "configure"
+import org.w3c.dom.svg.SVGDocument;
+
+public class conftest {
+ public static void main(String[] argv) {
+
+ }
+}
+EOF
+
+ CLASSPATH=$ac_java_classpath
+ export CLASSPATH
+ cmd="$JAVAC ${JAVAC_FLAGS} conftest.java"
+ if (echo $cmd >&5 ; eval $cmd >&5 2>&5) ; then
+ if test ""no"" = "no"; then
+ echo "yes" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jar_resolved" >&5
+$as_echo "$jar_resolved" >&6; }
+ found_jar=yes
+ PACKAGE_JAR_FILE=$jar_resolved
+ break
+
+ else
+ cmd="$JAVA conftest"
+ if (echo $cmd >&5 ; eval $cmd >&5 2>&5); then
+ echo "yes" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jar_resolved" >&5
+$as_echo "$jar_resolved" >&6; }
+ found_jar=yes
+ PACKAGE_JAR_FILE=$jar_resolved
+ break
+
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.java >&5
+ echo "configure: CLASSPATH was $CLASSPATH" >&5
+
+ ac_java_classpath=$saved_ac_java_classpath
+
+
+ fi
+ fi
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.java >&5
+ echo "configure: CLASSPATH was $CLASSPATH" >&5
+
+ ac_java_classpath=$saved_ac_java_classpath
+
+
+ fi
+
+ fi
+ done
+ if test "$found_jar" = "yes"; then
+ break
+ fi
+ done
+ if test "$found_jar" = "no"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ if test "" = "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&5
+$as_echo "$as_me: WARNING: Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" >&2;}
+ else
+ as_fn_error "Could not find or use the Java package/jar xml-commons-apis-ext used by XML Commons external code (looking for package org.w3c.dom.svg.SVGDocument)" "$LINENO" 5
+ fi
+ fi
+
+ XML_APIS_EXT=$PACKAGE_JAR_FILE
+ fi
+
+
+
# Avalon Framework (PDF)
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/avalon-framework.jar" "$jardir/libavalon-framework.jar" "$jardir/libavalon-framework-java.jar" "$jardir/avalon-framework*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
cat << \EOF > conftest.java
-// #line 22809 "configure"
+// #line 22933 "configure"
import org.apache.avalon.framework.configuration.ConfigurationException;
public class conftest {
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 29074 "configure"
+#line 29198 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 29180 "configure"
+#line 29304 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
# values after options handling.
ac_log="
This file was extended by Scilab $as_me 5, which was
-generated by GNU Autoconf 2.64. Invocation command line was
+generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
-q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
Scilab config.status 5
-configured by $0, generated by GNU Autoconf 2.64,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+configured by $0, generated by GNU Autoconf 2.65,
+ with options \\"\$ac_cs_config\\"
Copyright (C) 2009 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
$as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
t delim
:nl
h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
t more1
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
p
t nl
:delim
h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
t more2
s/["\\]/\\&/g; s/^/"/; s/$/"/
p
JGRAPHX=$PACKAGE_JAR_FILE
AC_SUBST(JGRAPHX)
- AC_JAVA_CHECK_VERSION_PACKAGE([jgraphx],[import com.mxgraph.view.mxGraph;],$JGRAPHX,[1.2.0.0],[mxGraph.VERSION])
+ AC_JAVA_CHECK_VERSION_PACKAGE([jgraphx],[import com.mxgraph.view.mxGraph;],$JGRAPHX,[1.2.0.7],[mxGraph.VERSION])
# Docking system
AC_JAVA_CHECK_PACKAGE([flexdock],[org.flexdock.docking.DockingManager],[Scilab Gui])
# Provide known paths where distribs/OS can store JNI libs
LDFLAGS="-L/usr/lib/jni -L/usr/lib64/jni/ -L$SCI_SRCDIR/thirdparty/ -L$SCI_SRCDIR/bin/"
AC_CHECK_LIB([jogl], [glTexParameterf], [JOGL_LIBS="-ljogl"],[AC_MSG_WARN([Could not link against -ljogl. Will try against -ljogl -lGL])])
- if test -z "JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
+ if test -z "$JOGL_LIBS"; then # The previous test failed add more options to the LDFLAGS
LDFLAGS="$LDFLAGS -lGL "
# the space after "jogl" in the following line is on
# purpose to disable the cache
## Test for gettext
#######################
-ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT"
+ALL_LINGUAS="en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA"
AC_ARG_ENABLE(build-localization,
AC_HELP_STRING([--disable-build-localization],[Disable the localization build])
<load on="pdf_ps_eps_graphic_export"/>
</path>
-<path value="$SCILAB/thirdparty/jlatexmath-0.8.6.jar" load="onUse">
+<path value="$SCILAB/thirdparty/jlatexmath-0.8.7.jar" load="onUse">
<load on="graphics_latex_textrendering"/>
<load on="pdf_ps_eps_graphic_export"/>
</path>
AC_MSG_ERROR([Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug])
fi
# xml.apache.org SVG Library (under mandriva for example)
- AC_JAVA_CHECK_PACKAGE([batik-all],[org.apache.batik.parser.Parser],[Apache SVG Library])
+ AC_JAVA_CHECK_PACKAGE([batik-all],[org.apache.batik.parser.Parser],[Apache SVG Library],"yes")
BATIK=$PACKAGE_JAR_FILE
if test -z "$BATIK"; then
# Other other distribs
- AC_JAVA_CHECK_PACKAGE([batik],[org.apache.batik.parser.Parser],[Apache SVG Library],"yes")
+ AC_JAVA_CHECK_PACKAGE([batik],[org.apache.batik.parser.Parser],[Apache SVG Library])
BATIK=$PACKAGE_JAR_FILE
fi
AC_SUBST(BATIK)
AC_SUBST(XMLGRAPHICS_COMMONS)
# XML API EXT (conversion of a SVG => PNG)
- AC_JAVA_CHECK_PACKAGE([xml-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code])
+ AC_JAVA_CHECK_PACKAGE([xml-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code],"yes")
XML_APIS_EXT=$PACKAGE_JAR_FILE
+
+ if test -z "$XML_APIS_EXT"; then
+ # Other other distribs (Ex: Fedora/Redhat)
+ AC_JAVA_CHECK_PACKAGE([xml-commons-apis-ext],[org.w3c.dom.svg.SVGDocument],[XML Commons external code])
+ XML_APIS_EXT=$PACKAGE_JAR_FILE
+ fi
AC_SUBST(XML_APIS_EXT)
+
+
# Avalon Framework (PDF)
AC_JAVA_CHECK_PACKAGE([avalon-framework],[org.apache.avalon.framework.configuration.ConfigurationException],[Common framework for Java server application])
AVALON_FRAMEWORK=$PACKAGE_JAR_FILE
PACKAGE_JAR_FILE=
found_jar=no
saved_ac_java_classpath=$ac_java_classpath
- DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null)"
+ DEFAULT_JAR_DIR="/usr/share/java/ /usr/lib/java/ /usr/share/java /usr/share/java/jar /opt/java/lib /usr/local/java /usr/local/java/jar /usr/local/share/java /usr/local/share/java/jar /usr/local/lib/java $(ls -d /usr/share/java/*/ 2>/dev/null) $(ls -d /usr/lib64/*/ 2>/dev/null) $(ls -d /usr/lib/*/ 2>/dev/null)"
for jardir in "`pwd`/thirdparty" "`pwd`/jar" $DEFAULT_JAR_DIR "$_user_libdir"; do
for jar in "$jardir/$1.jar" "$jardir/lib$1.jar" "$jardir/lib$1-java.jar" "$jardir/$1*.jar"; do
# jar=`echo $jar|sed -e 's/ /\\ /'`
# jar_resolved=`ls $jar 2>/dev/null`
# echo "looking for $jar_resolved"
# TODO check the behaviour when spaces
- jar_resolved=`ls $jar 2>/dev/null`
+ jar_resolved=`ls -r $jar 2>/dev/null`
if test -e "$jar_resolved"; then
export ac_java_classpath="$jar_resolved:$ac_java_classpath"
AC_JAVA_TRY_COMPILE([import $2;], , "no", [
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
-"Revision-Date: 2009-12-09 16:34+0100\n"
+"Revision-Date: 2010-01-25 10:32+0100\n"
# File: src/c/dynamic_menus.c, line: 84
# File: src/c/dynamic_menus.c, line: 92
--- /dev/null
+# Ukrainian translation for scilab
+# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2007-11-26 18:05+0100\n"
+"PO-Revision-Date: 2010-01-06 18:59+0000\n"
+"Last-Translator: yurchor <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <uk@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-01-21 15:52+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#, c-format
+msgid "%s: No more memory.\n"
+msgstr "%s: доступну пам’ять вичерпано.\n"
+
+#, c-format
+msgid "Unqueuing %s - No option.\n"
+msgstr "Вилучення з черги %s: параметр не задано.\n"
+
+#, c-format
+msgid "Unqueuing %s - seq.\n"
+msgstr "Вилучення з черги %s: послідовність.\n"
*/
/* InterpreterManagement.i */
-/* swig -java -package org.scilab.modules.action_binding -outdir ../java/org/scilab/modules/action_binding/ InterpreterManagement.i */
+/**
+ * Windows: swig -java -package org.scilab.modules.action_binding -outdir ../java/org/scilab/modules/action_binding/ InterpreterManagement.i
+ * Other: Use the option --enable-build-swig to the configure
+*/
%module InterpreterManagement
%{
#include "../c/InterpreterManagement.h"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,2,0,0
- PRODUCTVERSION 5,2,0,0
+ FILEVERSION 5,3,0,0
+ PRODUCTVERSION 5,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "noaction_binding module"
- VALUE "FileVersion", "5, 2, 0, 0"
+ VALUE "FileVersion", "5, 3, 0, 0"
VALUE "InternalName", "noaction_binding module"
VALUE "LegalCopyright", "Copyright (C) 2010"
VALUE "OriginalFilename", "noaction_binding.dll"
VALUE "ProductName", " noaction_binding"
- VALUE "ProductVersion", "5, 2, 0, 0"
+ VALUE "ProductVersion", "5, 3, 0, 0"
END
END
BLOCK "VarFileInfo"
-->
<!DOCTYPE MODULE_VERSION SYSTEM "../core/xml/version.dtd">
<MODULE_VERSION name="action_binding">
-<VERSION major="5" minor="2" maintenance="0" revision="0" string="unstable-git" />
+<VERSION major="5" minor="3" maintenance="0" revision="0" string="unstable-git" />
</MODULE_VERSION>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2010 - DIGITEO - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<refentry version="5.0-subset Scilab" xml:id="api_scilab" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns5="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook">
+ <info>
+ <pubdate>$LastChangedDate$</pubdate>
+ </info>
+
+ <refnamediv>
+ <refname>api_scilab</refname>
+
+ <refpurpose>api_scilab is the Scilab interface to read/write data from/to Scilab memory </refpurpose>
+ </refnamediv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>In the previous versions of Scilab, there was no clear or easy way to extend Scilab or to use it as an embedded application.</para>
+<para>Since Scilab 5.2.0, these issues have been tackled by API Scilab. Its provides a new consistent, documented and easy way API.
+</para>
+
+ <para>This API provides functions to read/write data from/to Scilab memory.</para>
+<para> It provides many advantages:</para>
+ <itemizedlist>
+ <listitem>
+<para>Management of all Scilab data types</para></listitem>
+<listitem>
+<para>Consistency over all data types</para></listitem>
+<listitem>
+<para>Error management</para></listitem>
+<listitem>
+<para>Fully documented</para></listitem>
+<listitem>
+<para>Fully tested by unitary tests</para></listitem>
+<listitem>
+<para>Straight and named access (See the <link linkend="call_scilab">call_scilab API</link>) to variables.</para></listitem>
+<listitem>
+<para>And it will be maintained over future versions of Scilab</para></listitem>
+</itemizedlist>
+
+<para>Usually, this API is used to extend Scilab capabilities but can be used in other contexts</para>
+
+ <itemizedlist>
+ <listitem>
+<para>Libraires or C/C++ functions: Many librairies have been developped on the free/Open source or proprietary markets. This library can be loaded and used in a high level language like Scilab. API Scilab provides the capabilities to interact with such libraries.
+</para>
+ </listitem>
+ <listitem>
+<para>Scilab can be used as computing engine from a third party software. This feature is called <link linkend="call_scilab">call_scilab</link> when Scilab is used from C/C++ code or <link linkend="javasci">javasci</link> when used from Java. Access to variable is done through their names (named variable).
+</para>
+ </listitem>
+</itemizedlist>
+ <para>Note that old APIs (stackX.h) will not be available after Scilab 6.0 (included).</para>
+ </refsection>
+
+ <refsection>
+ <title>See Also</title>
+
+ <simplelist type="inline">
+ <member><link linkend="compile_and_run_call_scilab">Compile and run with
+ call_scilab</link>, <link linkend="DoubleManagement_callscilab">Matrix
+ Management</link>, <link linkend="BooleanManagement_callscilab">Boolean
+ Management</link>, <link linkend="ComplexManagement_callscilab">Complex
+ Management</link>, <link linkend="StringManagement_callscilab">String
+ Management</link>, <link linkend="call_scilab">Call_Scilab</link></member>
+ </simplelist>
+ </refsection>
+
+ <refsection>
+ <title>Authors</title>
+
+ <para>Sylvestre Ledru</para>
+ </refsection>
+</refentry>
function is a column vector or not. You must include stack-c.h to benefit
from this function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
from this function. If the test fails, we return from the C interface and
an adequate error message is printed in the Scilab console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
interface and an adequate error message is printed in the Scilab
console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
this function. If the test fails, we return from the C interface and an
adequate error message is printed in the Scilab console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
macro before any memory allocation in order to avoid any memory
leak.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
macro before any memory allocation in order to avoid any memory
leak.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
from this function. If the test fails, we return from the C interface and
an adequate error message is printed in the Scilab console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
this function. If the test fails, we return from the C interface and an
adequate error message is printed in the Scilab console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
function is a scalar or not. You must include stack-c.h to benefit from
this function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
from this function. If the test fails, we return from the C interface and
an adequate error message is printed in the Scilab console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
interface and an adequate error message is printed in the Scilab
console.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
given its name. You must include stack-c.h to benefit from this
function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
optional parameter. You must include stack-c.h to benefit from this
function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
returns the name of the parameter. You must include stack-c.h to benefit
from this function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
<para>Note: Lhs means Left Hand Side.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
<para>A C gateway function which specifies which variables created inside
the C interface will be returned as an output argumen into Scilab.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
sent to a C function. You must include stack-c.h to benefit from this
function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
function wrote in C) which must have a Scilab name which is maximum 8 char
wide.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
<para>Note: Rhs means Right Hand Side.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
parameters. You must include stack-c.h to benefit from this
function.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
<para>If this function is used, it is probable that <link
linkend="GetType">GetType</link> will also be used.</para>
- <para>WARNING: this API is deprecated. It will be removed in Scilab 6. Please use the new API instead.</para>
+ <para>WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use <link linkend="api_scilab">API Scilab</link> (the new Scilab API).</para>
</refsection>
<refsection>
*/
SciErr readNamedMatrixOfBoolean(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piBool);
+/*shortcut functions*/
+
+/**
+ * check if the variable type is a boolean
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isBooleanType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a boolean
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedBooleanType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar boolean variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piBool return boolean value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarBoolean(void* _pvCtx, int* _piAddress, int* _piBool);
+
+/**
+ * Get scalar boolean variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piBool return boolean value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarBoolean(void* _pvCtx, char* _pstName, int* _piBool);
+
+/**
+ * Create scalar boolean
+ * @param[in] _iVar variable number
+ * @param[in] _iBool value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarBoolean(void* _pvCtx, int _iVar, int _iBool);
+
+/**
+ * Create named scalar double
+ * @param[in] _pstName variable name
+ * @param[in] _iBool value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarBoolean(void* _pvCtx, char* _pstName, int _iBool);
+
+
#ifdef __cplusplus
}
#endif
*/
SciErr readNamedBooleanSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int* _piNbItemRow, int* _piColPos);
+/* shortcut functions */
+
+/**
+ * check if the variable type is a boolean sparse
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isBooleanSparseType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a boolean sparse
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedBooleanSparseType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get boolean sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedBooleanSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos);
+
+/**
+ * Get named boolean sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedBooleanSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos);
+
+/**
+ * free data allocated by shortcut functions
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ */
+void freeAllocatedBooleanSparse(int* _piNbItemRow, int* _piColPos);
+
#ifdef __cplusplus
}
#endif
*/
int getRhsFromAddress(void* _pvCtx, int* _piAddress);
+/**
+* check if a variable is a row vector
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isRowVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a column vector
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isColumnVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a vector ( row or column )
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isVector(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a scalar
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isScalar(void* _pvCtx, int* _piAddress);
+
+/**
+* check if a variable is a square matrix
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isSquareMatrix(void* _pvCtx, int* _piAddress);
+
+/**
+* check matrix dimension
+* @param[in] _piAddress variable address
+* @param[in] _iRows excepted row number ( if -1, don't check )
+* @param[in] _iCols excepted column number ( if -1, don't check )
+* @return 1 for true and 0 for false
+*/
+int checkVarDimension(void* _pvCtx, int* _piAddress, int _iRows, int _iCols);
+
+/**
+* check if it is a empty matrix
+* @param[in] _piAddress variable address
+* @return 1 for true and 0 for false
+*/
+int isEmptyMatrix(void* _pvCtx, int* _piAddress);
+
+/**
+* Create an empty matrix
+* @param[in] _iVar variable number
+* @return if the operation successed (0) or not ( !0 )
+*/
+int createEmptyMatrix(void* _pvCtx, int _iVar);
+
+/**
+* Create a named empty matrix
+* @param[in] _pstName variable name
+* @return if the operation successed (0) or not ( !0 )
+*/
+int createNamedEmptyMatrix(void* _pvCtx, char* _pstName);
+
+/**
+* Check if a named variable exists
+* @param[in] _pstName variable name
+* @return if the operation successed (0) or not ( !0 )
+*/
+int isNamedVarExist(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedRowVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedColumnVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedVector(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedScalar(void* _pvCtx, char* _pstName);
+
+/**
+* check if a variable is a row vector
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedSquareMatrix(void* _pvCtx, char* _pstName);
+
+/**
+* check if it is a empty matrix
+* @param[in] _pstName variable name
+* @return 1 for true and 0 for false
+*/
+int isNamedEmptyMatrix(void* _pvCtx, char* _pstName);
+
#ifdef __cplusplus
}
#endif
*/
SciErr readNamedComplexMatrixOfDouble(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, double* _pdblReal, double* _pdblImg);
+/*shortcut functions*/
+
+
+/**
+ * check if the variable type is double
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isDoubleType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is double
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedDoubleType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar double variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pdblReal return pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarDouble(void* _pvCtx, int* _piAddress, double* _pdblReal);
+
+/**
+ * Get scalar complex double variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pdblReal return pointer on real data
+ * @param[out] _pdblImg return pointer on imgagianry data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarComplexDouble(void* _pvCtx, int* _piAddress, double* _pdblReal, double* _pdblImg);
+
+/**
+ * Get scalar double variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pdblReal return pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarDouble(void* _pvCtx, char* _pstName, double* _pdblReal);
+
+/**
+ * Get scalar complex double variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pdblReal return pointer on real data
+ * @param[out] _pdblImg return pointer on imgagianry data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarComplexDouble(void* _pvCtx, char* _pstName, double* _pdblReal, double* _pdblImg);
+
+/**
+ * Create scalar double
+ * @param[in] _iVar variable number
+ * @param[in] _dblReal value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarDouble(void* _pvCtx, int _iVar, double _dblReal);
+
+/**
+ * Create scalar complex double variable
+ * @param[in] _iVar variable number
+ * @param[in] _dblReal real value
+ * @param[in] _dblImg imaginary value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarComplexDouble(void* _pvCtx, int _iVar, double _dblReal, double _dblImg);
+
+/**
+ * Create named scalar double
+ * @param[in] _pstName variable name
+ * @param[in] _dblReal value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarDouble(void* _pvCtx, char* _pstName, double _dblReal);
+
+/**
+ * Create named scalar complex double variable
+ * @param[in] _pstName variable name
+ * @param[in] _dblReal real value
+ * @param[in] _dblImg imaginary value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarComplexDouble(void* _pvCtx, char* _pstName, double _dblReal, double _dblImg);
+
#ifdef __cplusplus
}
#endif
#define API_ERROR_NAMED_TYPE 51
#define API_ERROR_NAMED_VARDIM 55
#define API_ERROR_GET_NAMED_DIMFROMVAR 59
+#define API_ERROR_IS_ROW_VECTOR 60
+#define API_ERROR_IS_COLUMN_VECTOR 61
+#define API_ERROR_IS_VECTOR 62
+#define API_ERROR_IS_SCALAR 63
+#define API_ERROR_IS_SQUARE 64
+#define API_ERROR_CHECK_VAR_DIMENSION 65
+#define API_ERROR_CREATE_EMPTY_MATRIX 66
+#define API_ERROR_CREATE_NAMED_EMPTY_MATRIX 67
+#define API_ERROR_IS_NAMED_ROW_VECTOR 68
+#define API_ERROR_IS_NAMED_COLUMN_VECTOR 69
+#define API_ERROR_IS_NAMED_SCALAR 70
+#define API_ERROR_IS_NAMED_SQUARE 71
+#define API_ERROR_CHECK_NAMED_VAR_DIMENSION 72
/*double errors 101 - 199*/
#define API_ERROR_GET_DOUBLE 101
#define API_ERROR_CREATE_COMPLEX_DOUBLE 106
#define API_ERROR_CREATE_ZDOUBLE 107
#define API_ERROR_READ_NAMED_DOUBLE 108
+#define API_ERROR_GET_SCALAR_DOUBLE 109
+#define API_ERROR_CREATE_SCALAR_DOUBLE 110
+#define API_ERROR_CREATE_NAMED_SCALAR 111
+#define API_ERROR_GET_NAMED_SCALAR_DOUBLE 112
/*poly errors 201 - 299*/
#define API_ERROR_GET_POLY_VARNAME 201
#define API_ERROR_TOO_LONG_VAR 204
#define API_ERROR_CREATE_NAMED_POLY 207
#define API_ERROR_READ_NAMED_POLY 208
+#define API_ERROR_GET_ALLOC_SINGLE_POLY 209
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_POLY 210
+#define API_ERROR_GET_ALLOC_MATRIX_POLY 211
+#define API_ERROR_GET_ALLOC_NAMED_MATRIX_POLY 212
/*boolean errors 401 - 499*/
#define API_ERROR_GET_BOOLEAN 401
#define API_ERROR_CREATE_BOOLEAN 402
#define API_ERROR_CREATE_NAMED_BOOLEAN 403
-
-#define API_ERROR_READ_BOOLEAN 451
+#define API_ERROR_READ_BOOLEAN 404
+#define API_ERROR_CREATE_SCALAR_BOOLEAN 405
+#define API_ERROR_CREATE_NAMED_SCALAR_BOOLEAN 406
/*sparse errors 501 - 599*/
#define API_ERROR_GET_SPARSE 501
#define API_ERROR_CREATE_SPARSE 504
#define API_ERROR_CREATE_NAMED_SPARSE 505
#define API_ERROR_READ_NAMED_SPARSE 506
+#define API_ERROR_GET_ALLOC_SPARSE 507
+#define API_ERROR_GET_NAMED_ALLOC_SPARSE 508
/*boolean sparse errors 601 - 699*/
#define API_ERROR_GET_BOOLEAN_SPARSE 601
#define API_ERROR_CREATE_BOOLEAN_SPARSE 604
#define API_ERROR_CREATE_NAMED_BOOLEAN_SPARSE 605
#define API_ERROR_READ_NAMED_BOOLEAN_SPARSE 606
+#define API_ERROR_GET_SCALAR_BOOLEAN 607
+#define API_ERROR_GET_NAMED_SCALAR_BOOLEAN 608
+#define API_ERROR_GET_ALLOC_BOOLEAN_SPARSE 611
+#define API_ERROR_GET_NAMED_ALLOC_BOOLEAN_SPARSE 612
/*matlab sparse errors 701 - 799*/
#define API_ERROR_ALLOC_INT 804
#define API_ERROR_GET_NAMED_INT_PRECISION 805
#define API_ERROR_READ_NAMED_INT 806
+#define API_ERROR_GET_SCALAR_INTEGER 807
+#define API_ERROR_GET_NAMED_SCALAR_INTEGER 808
+#define API_ERROR_CREATE_SCALAR_INT 809
+#define API_ERROR_CREATE_NAMED_SCALAR_INT 810
/*strings errors 1001 - 1099*/
#define API_ERROR_GET_STRING 1001
#define API_ERROR_CREATE_WIDE_STRING 1008
#define API_ERROR_CREATE_NAMED_WIDE_STRING 1009
#define API_ERROR_READ_NAMED_WIDE_STRING 1010
-
+#define API_ERROR_GET_ALLOC_SINGLE_STRING 1011
+#define API_ERROR_GET_ALLOC_SINGLE_WIDE_STRING 1012
+#define API_ERROR_GET_ALLOC_STRING_MATRIX 1013
+#define API_ERROR_GET_ALLOC_WIDE_STRING_MATRIX 1014
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_STRING 1015
+#define API_ERROR_GET_ALLOC_NAMED_SINGLE_WIDE_STRING 1016
+#define API_ERROR_GET_ALLOC_NAMED_STRING_MATRIX 1017
+#define API_ERROR_GET_ALLOC_NAMED_WIDE_STRING_MATRIX 1018
+#define API_ERROR_CREATE_SINGLE_STRING 1019
+#define API_ERROR_CREATE_SINGLE_WIDE_STRING 1020
+#define API_ERROR_CREATE_NAMED_SINGLE_STRING 1021
+#define API_ERROR_CREATE_NAMED_SINGLE_WIDE_STRING 1022
+
/*list errors 1501 - 1599*/
#define API_ERROR_LIST_ITEM_NUMBER 1501
#define API_ERROR_INVALID_LIST_TYPE 1502
#define API_ERROR_CREATE_STRING_IN_NAMED_LIST 1534
#define API_ERROR_READ_STRING_IN_NAMED_LIST 1535
- /*string in list*/
+ /*boolean in list*/
#define API_ERROR_GET_BOOLEAN_IN_LIST 1540
#define API_ERROR_CREATE_BOOLEAN_IN_LIST 1541
#define API_ERROR_ALLOC_BOOLEAN_IN_LIST 1542
SciErr readNamedMatrixOfUnsignedInteger64(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, unsigned long long* _pullData64);
#endif
+/* shortcut functions */
+
+/**
+ * check if the variable type is a integer
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isIntegerType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a integer
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedIntegerType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger8(void* _pvCtx, int* _piAddress, char* _pcData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger16(void* _pvCtx, int* _piAddress, short* _psData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarInteger32(void* _pvCtx, int* _piAddress, int* _piData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getScalarInteger64(void* _pvCtx, int* _piAddress, long long* _pllData);
+#endif
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger8(void* _pvCtx, int* _piAddress, unsigned char* _pucData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger16(void* _pvCtx, int* _piAddress, unsigned short* _pusData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getScalarUnsignedInteger32(void* _pvCtx, int* _piAddress, unsigned int* _puiData);
+
+/**
+ * Get scalar integer variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getScalarUnsignedInteger64(void* _pvCtx, int* _piAddress, unsigned long long* _pullData);
+#endif
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger8(void* _pvCtx, char* _pstName, char* _pcData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger16(void* _pvCtx, char* _pstName, short* _psData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarInteger32(void* _pvCtx, char* _pstName, int* _piData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getNamedScalarInteger64(void* _pvCtx, char* _pstName, long long* _pllData);
+#endif
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pcData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger8(void* _pvCtx, char* _pstName, unsigned char* _pucData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _psData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger16(void* _pvCtx, char* _pstName, unsigned short* _pusData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedScalarUnsignedInteger32(void* _pvCtx, char* _pstName, unsigned int* _puiData);
+
+/**
+ * Get named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pllData return integer value
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int getNamedScalarUnsignedInteger64(void* _pvCtx, char* _pstName, unsigned long long* _pullData);
+#endif
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pcData array of integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger8(void* _pvCtx, int _iVar, char cData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _psData array of integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger16(void* _pvCtx, int _iVar, short sData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _piData array of integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarInteger32(void* _pvCtx, int _iVar, int iData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pllData array of integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createScalarInteger64(void* _pvCtx, int _iVar, long long llData);
+#endif
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pucData array of unsigned integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger8(void* _pvCtx, int _iVar, unsigned char ucData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pusData array of unsigned integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger16(void* _pvCtx, int _iVar, unsigned short usData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _puiData array of unsigned integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createScalarUnsignedInteger32(void* _pvCtx, int _iVar, unsigned int uiData);
+
+/**
+ * create scalar integer variable data
+ * @param[in] _piAddress variable name
+ * @param[in] _pullData array of unsigned integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createScalarUnsignedInteger64(void* _pvCtx, int _iVar, unsigned long long ullData);
+#endif
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pcData array of integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger8(void* _pvCtx, char* _pstName, char cData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _psData array of integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger16(void* _pvCtx, char* _pstName, short sData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _piData array of integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarInteger32(void* _pvCtx, char* _pstName, int iData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pllData array of integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createNamedScalarInteger64(void* _pvCtx, char* _pstName, long long llData);
+#endif
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pucData array of unsigned integer 8 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger8(void* _pvCtx, char* _pstName, unsigned char ucData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pusData array of unsigned integer 16 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger16(void* _pvCtx, char* _pstName, unsigned short usData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _puiData array of unsigned integer 32 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedScalarUnsignedInteger32(void* _pvCtx, char* _pstName, unsigned int uiData);
+
+/**
+ * create named scalar integer variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pullData array of unsigned integer 64 bits
+ * @return if the operation successed (0) or not ( !0 )
+ */
+#ifdef __SCILAB_INT64__
+int createNamedScalarUnsignedInteger64(void* _pvCtx, char* _pstName, unsigned long long ullData);
+#endif
+
+
#ifdef __cplusplus
}
#endif
*/
SciErr readNamedPointer(void* _pvCtx, char* _pstName, void** _pvPtr);
+/* shortcut functions */
+
+/**
+ * check if the variable type is a pointer
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isPointerType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a pointer
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedPointerType(void* _pvCtx, char* _pstName);
+
#ifdef __cplusplus
}
#endif
SciErr readNamedComplexMatrixOfPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+/* shortcut functions */
+
+/**
+ * check if the variable type is a poly
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isPolyType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a poly
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedPolyType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get single poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSinglePoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * Get single complex poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleComplexPoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get named single poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSinglePoly(void* _pvCtx, char* _pstName, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * Get named single complex poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleComplexPoly(void* _pvCtx, char* _pstName, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get matrix of poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomials coefficients number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal);
+
+/**
+ * Get matrix of complex poly variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomials coefficients number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imgaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfComplexPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal, double*** _pdblImg);
+
+/**
+ * Get named matrix of poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal);
+
+/**
+ * Get named matrix of complex poly variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of col
+ * @param[out] _piNbCoef return polynomial coefficient number
+ * @param[out] _pdblReal pointer on real data
+ * @param[out] _pdblImg pointer on imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfComplexPoly(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal, double*** _pdblImg);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pdblReal single polynom real data
+ */
+void freeAllocatedSinglePoly(double* _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pdblReal single polynom real data
+ * @param[in] _pdblImg single polynom imaginary data
+ */
+void freeAllocatedSingleComplexPoly(double* _pdblReal, double* _pdblImg);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row count
+ * @param[in] _iCols column count
+ * @param[in] _piNbCoef polynomial coefficient number
+ * @param[in] _pdblReal matrix of polynom real data
+ */
+void freeAllocatedMatrixOfPoly(int _iRows, int _iCols, int* _piNbCoef, double** _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row count
+ * @param[in] _iCols column count
+ * @param[in] _piNbCoef polynomial coefficient number
+ * @param[in] _pdblReal matrix of polynom real data
+ * @param[in] _pdblImg matrix of polynom imaginary data
+ */
+void freeAllocatedMatrixOfComplexPoly(int _iRows, int _iCols, int* _piNbCoef, double** _pdblReal, double** _pdblImg);
+
#ifdef __cplusplus
}
#endif
SciErr readNamedComplexSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int* _piNbItemRow, int* _piColPos, double* _pdblReal, double* _pdblImg);
+/* shortcut functions */
+
+/**
+ * check if the variable type is a sparse
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isSparseType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is a sparse
+ * @param[in] _pstName variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedSparseType(void* _pvCtx, char* _pstName);
+
+/**
+ * Get sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal);
+
+/**
+ * Get sparse variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @param[out] _pdblImg return array of imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedComplexSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg);
+
+/**
+ * Get named sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal);
+
+/**
+ * Get named sparse variable data
+ * @param[in] _pstName variable name
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _iNbItem return number of item
+ * @param[out] _piNbItemRow return array of number of item for each row
+ * @param[out] _piColPos return array of item column position ( 1 indexed )
+ * @param[out] _pdblReal return array of real data
+ * @param[out] _pdblImg return array of imaginary data
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getNamedAllocatedComplexSparseMatrix(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos, double** _pdblReal, double** _pdblImg);
+
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ * @param[in] _pdblReal sparse real data
+ */
+void freeAllocatedSparseMatrix(int* _piNbItemRows, int* _piColPos, double* _pdblReal);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _piNbItemRow array of number of item for each row
+ * @param[in] _piColPos array of item column position ( 1 indexed )
+ * @param[in] _pdblReal sparse real data
+ * @param[in] _pdblImg sparse imaginary data
+ */
+void freeAllocatedComplexSparseMatrix(int* _piNbItemRows, int* _piColPos, double* _pdblReal, double* _pdblImg);
+
#ifdef __cplusplus
}
#endif
* @param[out] _pstStrings return array of char
* @return if the operation successed (0) or not ( !0 )
*/
-
SciErr getMatrixOfString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piLength, char** _pstStrings);
/**
* @param[in] _pstName variable name
* @param[in] _iRows Number of row
* @param[in] _iCols Number of column
+ * @param[out] _piLength return strings length
* @param[in] _pstStrings array of strings ( null terminated )
- * @param[out] _piAddress return pointer on new variable
* @return if the operation successed (0) or not ( !0 )
*/
-
SciErr readNamedMatrixOfString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piLength, char** _pstStrings);
/**
* @param[in] _pstName variable name
* @param[in] _iRows Number of row
* @param[in] _iCols Number of column
+* @param[out] _piLength return strings length
* @param[in] _pstStrings array of strings ( null terminated )
-* @param[out] _piAddress return pointer on new variable
* @return if the operation successed (0) or not ( !0 )
*/
SciErr readNamedMatrixOfWideString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, int* _piwLength, wchar_t** _pwstStrings);
+/*shortcut functions*/
+
+/**
+ * check if the variable type is string
+ * @param[in] _piAddress variable address
+ * @return 1 for true and 0 for false
+ */
+int isStringType(void* _pvCtx, int* _piAddress);
+
+/**
+ * check if the variable type is string
+ * @param[in] _pstNAme variable name
+ * @return 1 for true and 0 for false
+ */
+int isNamedStringType(void* _pvCtx, char* _pstName);
+/**
+ * Get single string variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleString(void* _pvCtx, int* _piAddress, char** _pstData);
+
+/**
+ * Get single wide string variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _pwstData return allocated wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedSingleWideString(void* _pvCtx, int* _piAddress, wchar_t** _pwstData);
+
+/**
+ * Get strings variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _pstData return allocated array of string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, char*** _pstData);
+
+/**
+ * Get wide strings variable data
+ * @param[in] _piAddress variable address
+ * @param[out] _piRows return number of row
+ * @param[out] _piCols return number of column
+ * @param[out] _pwstData return allocated array of wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedMatrixOfWideString(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, wchar_t*** _pwstData);
+
+
+/**
+ * Get single named string variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleString(void* _pvCtx, char* _pstName, char** _pstData);
+
+/**
+ * Get single named string variable data
+ * @param[in] _pstName variable name
+ * @param[out] _pstData return allocated string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedSingleWideString(void* _pvCtx, char* _pstName, wchar_t** _pwstData);
+
+/**
+ * Get named strings variable data
+ * @param[in] _pstName variable name
+ * @param[out] _iRows Number of row
+ * @param[out] _iCols Number of column
+ * @param[out] _pstData return allocated array of string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, char*** _pstData);
+
+/**
+ * Get named wide strings variable data
+ * @param[in] _pstName variable name
+ * @param[out] _iRows Number of row
+ * @param[out] _iCols Number of column
+ * @param[out] _pwstData return allocated array of wide string pointer ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int getAllocatedNamedMatrixOfWideString(void* _pvCtx, char* _pstName, int* _piRows, int* _piCols, wchar_t*** _pwstData);
+
+/**
+ * Get single string variable data
+ * @param[in] _iVar variable number
+ * @param[in] _pstStrings string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createSingleString(void* _pvCtx, int _iVar, char* _pstStrings);
+
+/**
+ * Get single wide string variable data
+ * @param[in] _iVar variable number
+ * @param[in] _pwstStrings wide string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createSingleWideString(void* _pvCtx, int _iVar, wchar_t* _pwstStrings);
+
+/**
+ * Get named single string variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pstStrings string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedSingleString(void* _pvCtx, char* _pstName, char* _pstStrings);
+
+/**
+ * Get named single wide string variable data
+ * @param[in] _pstName variable name
+ * @param[in] _pwstStrings wide string ( null terminated )
+ * @return if the operation successed (0) or not ( !0 )
+ */
+int createNamedSingleWideString(void* _pvCtx, char* _pstName, wchar_t* _pwstStrings);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pstData string data
+ */
+void freeAllocatedSingleString(char* _pstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _pwstData wide string data
+ */
+void freeAllocatedSingleWideString(wchar_t* _pwstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row number
+ * @param[in] _iCols column number
+ * @param[in] _pstData matrix of string data
+ */
+void freeAllocatedMatrixOfString(int _iRows, int _iCols, char** _pstData);
+
+/**
+ * free data allocated by shortcut functions ( named or not )
+ * @param[in] _iRows row number
+ * @param[in] _iCols column number
+ * @param[in] _pwstData matrix of wide string data
+ */
+void freeAllocatedMatrixOfWideString(int _iRows, int _iCols, wchar_t** _pwstData);
+
#ifdef __cplusplus
}
#endif
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 5,2,0,0
- PRODUCTVERSION 5,2,0,0
+ FILEVERSION 5,3,0,0
+ PRODUCTVERSION 5,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
BLOCK "040c04b0"
BEGIN
VALUE "FileDescription", "api_scilab module"
- VALUE "FileVersion", "5, 2, 0, 0"
+ VALUE "FileVersion", "5, 3, 0, 0"
VALUE "InternalName", "api_scilab module"
VALUE "LegalCopyright", "Copyright (C) 2010"
VALUE "OriginalFilename", "api_scilab.dll"
VALUE "ProductName", " api_scilab module"
- VALUE "ProductVersion", "5, 2, 0, 0"
+ VALUE "ProductVersion", "5, 3, 0, 0"
END
END
BLOCK "VarFileInfo"