Ticket #29790: patch-configure.diff

File patch-configure.diff, 2.6 KB (added by dia@…, 13 years ago)
  • (a) configureg vs. (b) configure

    a b  
    2203922039                { $as_echo "$as_me:$LINENO: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
    2204022040$as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
    2204122041                SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
    22042         elif test -n "1.3.31" ; then
     22042        elif test -n "2.0.3" ; then
    2204322043                { $as_echo "$as_me:$LINENO: checking for SWIG version" >&5
    2204422044$as_echo_n "checking for SWIG version... " >&6; }
    2204522045                swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
     
    2204722047$as_echo "$swig_version" >&6; }
    2204822048                if test -n "$swig_version" ; then
    2204922049                        # Calculate the required version number components
    22050                         required=1.3.31
     22050                        required=2.0.3
    2205122051                        required_major=`echo $required | sed 's/[^0-9].*//'`
    2205222052                        if test -z "$required_major" ; then
    2205322053                                required_major=0
     
    2208122081                        if test $available_major -ne $required_major \
    2208222082                                -o $available_minor -ne $required_minor \
    2208322083                                -o $available_patch -lt $required_patch ; then
    22084                                 { $as_echo "$as_me:$LINENO: WARNING: SWIG version >= 1.3.31 is required.  You have $swig_version.  You should look at http://www.swig.org" >&5
    22085 $as_echo "$as_me: WARNING: SWIG version >= 1.3.31 is required.  You have $swig_version.  You should look at http://www.swig.org" >&2;}
    22086                                 SWIG='echo "Error: SWIG version >= 1.3.31 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
     22084                                { $as_echo "$as_me:$LINENO: WARNING: SWIG version >= 2.0.3 is required.  You have $swig_version.  You should look at http://www.swig.org" >&5
     22085$as_echo "$as_me: WARNING: SWIG version >= 2.0.3 is required.  You have $swig_version.  You should look at http://www.swig.org" >&2;}
     22086                                SWIG='echo "Error: SWIG version >= 2.0.3 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
    2208722087                        else
    2208822088                                { $as_echo "$as_me:$LINENO: SWIG executable is '$SWIG'" >&5
    2208922089$as_echo "$as_me: SWIG executable is '$SWIG'" >&6;}