# check for cxsc library
# sets CXSC_CPPFLAGS, CXSC_LDFLAGS and CXSC_LIBS,
# and CXSC=yes/no
AC_DEFUN([AC_CHECK_CXSC],[
temp_LIBS="$LIBS"
temp_CPPFLAGS="$CPPFLAGS"
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
AC_ARG_WITH([cxsc],
[AS_HELP_STRING([--with-cxsc=<location>],
[Location at which the CXSC library was installed.
If the argument is omitted, the library is assumed to be reachable
under the standard search path (/usr, /usr/local,...). Otherwise
you must give the <path> to the directory which contains the
library.])],
[if test "$withval" = no; then
CXSC=no
elif test "$withval" = yes; then
CXSC=yes
else
CXSC=yes
CXSC_CPPFLAGS="-I$withval/include"
CXSC_LDFLAGS="-L$withval/lib"
fi]
)
AC_ARG_WITH([cxsc-include],
[AS_HELP_STRING([--with-cxsc-include=<location>],
[Location at which the cxsc include<iv ="">
[CXSC=yes
CXSC_CPPFLAGS="-I$withval"]
)
AC_ARG_WITH([cxsc-lib],
[AS_HELP_STRING([--with-cxsc-lib=<location>],
[Location at which the cxsc library files were installed.])],
[CXSC=yes
CXSC_LDFLAGS="-L$withval"]
)
if test "$CXSC" != no; then
CXSC_LIBS="-lcxsc"
AC_LANG_PUSH([C++])
temp_status=true
CPPFLAGS="$CPPFLAGS $CXSC_CPPFLAGS"
AC_CHECK_HEADER(real.hpp,,[temp_status=false])
LDFLAGS="$LDFLAGS $CXSC_LDFLAGS"
AC_CHECK_LIB(cxsc,z_zadd,,[temp_status=false])
AC_LANG_POP([C++])
if test "$temp_status" = false; then
if test "$CXSC" = yes; then
AC_MSG_ERROR([library cxsc not found.spanclass=GAPprompt"gapgt<span><span ">:FreeAssociativeAlgebraWithOne,a""")</span>
else
CXSC=no
fi
else
CXSC=yes
fi
fi
CPPFLAGS="$temp_CPPFLAGS"
LDFLAGS="$temp_LDFLAGS"
LIBS="$temp_LIBS"
if test "$CXSC" != no; then
AC_DEFINE([<algebra-with-oneover GF(2,with &tjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
fi
AC_SUBST(CXSC_CPPFLAGS)
AC_SUBST(CXSC_LDFLAGS)
AC_SUBST(CXSC_LIBS)
AM_CONDITIONAL([WITH_CXSC_IS_YES],[test x"<="gtjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 102
])
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-04)
¤
*© Formatika GbR, Deutschland