libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd configure configure.in cvd/documentation.h


From: Edward Rosten
Subject: [libcvd-members] libcvd configure configure.in cvd/documentation.h
Date: Fri, 25 Jul 2008 17:29:47 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        08/07/25 17:29:47

Modified files:
        .              : configure configure.in 
        cvd            : documentation.h 

Log message:
        Test related to old TooN/new gcc

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/configure?cvsroot=libcvd&r1=1.127&r2=1.128
http://cvs.savannah.gnu.org/viewcvs/libcvd/configure.in?cvsroot=libcvd&r1=1.128&r2=1.129
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/documentation.h?cvsroot=libcvd&r1=1.17&r2=1.18

Patches:
Index: configure
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -b -r1.127 -r1.128
--- configure   15 Jul 2008 15:03:45 -0000      1.127
+++ configure   25 Jul 2008 17:29:46 -0000      1.128
@@ -7937,6 +7937,60 @@
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
+       { echo "$as_me:$LINENO: checking Old TooN" >&5
+echo $ECHO_N "checking Old TooN... $ECHO_C" >&6; }
+
+       cat >conftest.$ac_ext <<_ACEOF
+#include <TooN/TooN.h>
+       using namespace TooN;
+       int main()
+       {
+               Matrix<> m1(10,10);
+               Matrix<3,3> m2;
+               m1.slice(0,0,3,3) += m2;
+               return 0;
+       }
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+  (eval "$ac_compile") 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } && {
+        test -z "$ac_cxx_werror_flag" ||
+        test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+       { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }; a=1
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+       if test x$a = x1
+       then
+               { echo "$as_me:$LINENO: WARNING: Your version of TooN is too 
old for this version of GCC.
+You need a recent version (SNAPSHOT_20080725 or later), or GCC version
+less than 4.2.0.
+               " >&5
+echo "$as_me: WARNING: Your version of TooN is too old for this version of GCC.
+You need a recent version (SNAPSHOT_20080725 or later), or GCC version
+less than 4.2.0.
+               " >&2;}
+       fi
 
 
                if test x$a == x

Index: configure.in
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure.in,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -b -r1.128 -r1.129
--- configure.in        15 Jul 2008 15:03:45 -0000      1.128
+++ configure.in        25 Jul 2008 17:29:46 -0000      1.129
@@ -591,6 +591,25 @@
        AC_COMPILE_IFELSE([#include <TooN/TooN.h>
        int main(){TooN::Vector<2> v;return 0;}], 
[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no); a=1]) 
 
+       AC_MSG_CHECKING([Old TooN])
+
+       AC_COMPILE_IFELSE([#include <TooN/TooN.h>
+       using namespace TooN;
+       int main()
+       {
+               Matrix<> m1(10,10);
+               Matrix<3,3> m2;
+               m1.slice(0,0,3,3) += m2;
+               return 0;
+       }], [AC_MSG_RESULT(no)],[AC_MSG_RESULT(yes); a=1]) 
+
+       if test x$a = x1 
+       then
+               AC_MSG_WARN([Your version of TooN is too old for this version 
of GCC.
+You need a recent version (SNAPSHOT_20080725 or later), or GCC version
+less than 4.2.0.
+               ])
+       fi
 ])
 
 CHECK_FOR_OPTION(lapack, [

Index: cvd/documentation.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/documentation.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- cvd/documentation.h 4 Jun 2008 22:27:48 -0000       1.17
+++ cvd/documentation.h 25 Jul 2008 17:29:47 -0000      1.18
@@ -119,6 +119,12 @@
 
 libCVD fully supports parallel builds (<code>make -j2</code> for instance).
 
+\subsection slBugs Library bugs/issues
+       There are a few known library bugs which prevent the libraries working 
with libCVD
+
+       - TooN: If you have gcc >= 4.2.0 you need a version of TooN at least as 
recent as SNAPSHOT_20080725.
+
+
 \subsection scBugs Compiler bugs
        There are a few known compiler bugs which affect libCVD on various 
platforms.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]