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 22039 22039 { $as_echo "$as_me:$LINENO: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5 22040 22040 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;} 22041 22041 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false' 22042 elif test -n " 1.3.31" ; then22042 elif test -n "2.0.3" ; then 22043 22043 { $as_echo "$as_me:$LINENO: checking for SWIG version" >&5 22044 22044 $as_echo_n "checking for SWIG version... " >&6; } 22045 22045 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'` … … 22047 22047 $as_echo "$swig_version" >&6; } 22048 22048 if test -n "$swig_version" ; then 22049 22049 # Calculate the required version number components 22050 required= 1.3.3122050 required=2.0.3 22051 22051 required_major=`echo $required | sed 's/[^0-9].*//'` 22052 22052 if test -z "$required_major" ; then 22053 22053 required_major=0 … … 22081 22081 if test $available_major -ne $required_major \ 22082 22082 -o $available_minor -ne $required_minor \ 22083 22083 -o $available_patch -lt $required_patch ; then 22084 { $as_echo "$as_me:$LINENO: WARNING: SWIG version >= 1.3.31is required. You have $swig_version. You should look at http://www.swig.org" >&522085 $as_echo "$as_me: WARNING: SWIG version >= 1.3.31is required. You have $swig_version. You should look at http://www.swig.org" >&2;}22086 SWIG='echo "Error: SWIG version >= 1.3.31is 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' 22087 22087 else 22088 22088 { $as_echo "$as_me:$LINENO: SWIG executable is '$SWIG'" >&5 22089 22089 $as_echo "$as_me: SWIG executable is '$SWIG'" >&6;}