mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 02:40:15 +00:00
Fixed Boost's version matching failing on some systems.
This commit is contained in:
parent
78b83a75de
commit
432db965db
@ -162,7 +162,7 @@ AC_SUBST([BOOST_CPPFLAGS])dnl
|
|||||||
# e.g. "134" for 1_34_1 or "135" for 1_35
|
# e.g. "134" for 1_34_1 or "135" for 1_35
|
||||||
boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
|
boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
|
||||||
case $boost_major_version in
|
case $boost_major_version in
|
||||||
'' | *[[^0-9]]*)
|
'' | *[[!0-9]]*)
|
||||||
AC_MSG_ERROR([Invalid value: boost_major_version=$boost_major_version])
|
AC_MSG_ERROR([Invalid value: boost_major_version=$boost_major_version])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user