comparison configure.in @ 5613:d424f4c1e1f1

[project @ 2006-02-09 22:42:33 by dbateman]
author dbateman
date Thu, 09 Feb 2006 22:42:33 +0000
parents 9761b7d24e9e
children 69a4f320d95a
comparison
equal deleted inserted replaced
5612:aa3858187ee3 5613:d424f4c1e1f1
27 27
28 EXTERN_CFLAGS="$CFLAGS" 28 EXTERN_CFLAGS="$CFLAGS"
29 EXTERN_CXXFLAGS="$CXXFLAGS" 29 EXTERN_CXXFLAGS="$CXXFLAGS"
30 30
31 AC_INIT 31 AC_INIT
32 AC_REVISION($Revision: 1.499 $) 32 AC_REVISION($Revision: 1.500 $)
33 AC_PREREQ(2.57) 33 AC_PREREQ(2.57)
34 AC_CONFIG_SRCDIR([src/octave.cc]) 34 AC_CONFIG_SRCDIR([src/octave.cc])
35 AC_CONFIG_HEADER(config.h) 35 AC_CONFIG_HEADER(config.h)
36 36
37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) 37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.])
898 898
899 if test "$with_cxsparse" = yes; then 899 if test "$with_cxsparse" = yes; then
900 warn_cxsparse="CXSparse not found. This will result in some lack of functionality for sparse matrices." 900 warn_cxsparse="CXSparse not found. This will result in some lack of functionality for sparse matrices."
901 with_cxsparse=no 901 with_cxsparse=no
902 AC_CHECK_HEADERS([ufsparse/cxs.h cxsparse/cxs.h cxs.h], [ 902 AC_CHECK_HEADERS([ufsparse/cxs.h cxsparse/cxs.h cxs.h], [
903 AC_CHECK_LIB(cxspack, cs_sqr_di, [CXSPARSE_LIBS="-lcxspack"; with_cxsparse=yes]) 903 AC_CHECK_LIB(cxsparse, cs_sqr_di, [CXSPARSE_LIBS="-lcxsparse"; with_cxsparse=yes])
904 if test "$with_cxsparse" = yes; then 904 if test "$with_cxsparse" = yes; then
905 AC_DEFINE(HAVE_CXSPARSE, 1, [Define if the CXSparse library is used.]) 905 AC_DEFINE(HAVE_CXSPARSE, 1, [Define if the CXSparse library is used.])
906 warn_cxsparse= 906 warn_cxsparse=
907 fi 907 fi
908 break]) 908 break])