simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bug #42595] Faulty swig version number comparison


From: David Forrest
Subject: [Simulavr-devel] [bug #42595] Faulty swig version number comparison
Date: Thu, 26 Jun 2014 03:02:35 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #1, bug #42595 (project simulavr):

A sloppy workaround is to adjust configure.ac like this:


    diff --git a/configure.ac b/configure.ac
    index 0401762..24fe040 100644
    --- a/configure.ac
    +++ b/configure.ac
    @@ -58,7 +58,7 @@ if test ${CXX_PROG} = no ; then
       # AC_PROG_CXX sets g++, if nothing is found, but if not found make will
fail
       AC_MSG_ERROR([C++ compiler ${CXX} not found],1)
     fi
    -AC_PROG_SWIG(2.0.0)
    +AC_PROG_SWIG(3.0.0)
     if test "x$SWIG_LIB" = "x"; then
       # fall back to SWIG version 1.3.x in case of SWIG 2.0.x not found!
       AC_MSG_NOTICE([Don't worry, we can try to find SWIG 1.3.x!])


It would be better to add a full 3.0.0 caluse that fsalls back to 2.0.0 and so
on.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42595>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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