2022-05-25 15:35:44 +00:00
|
|
|
Index: openipmi-2.0.32.3+git.05faa36e/configure.ac
|
2018-09-07 16:03:04 +00:00
|
|
|
===================================================================
|
2022-05-25 15:35:44 +00:00
|
|
|
--- openipmi-2.0.32.3+git.05faa36e.orig/configure.ac
|
|
|
|
|
+++ openipmi-2.0.32.3+git.05faa36e/configure.ac
|
|
|
|
|
@@ -729,11 +729,14 @@ AC_HAVE_FUNCS(syslog)
|
2018-09-07 16:03:04 +00:00
|
|
|
DIA=
|
|
|
|
|
AC_PATH_PROG(diaprog, dia)
|
|
|
|
|
if test "x$diaprog" != "x"; then
|
2020-01-26 22:05:19 +00:00
|
|
|
- diaver=`$diaprog --version 2>&1 | grep 'Dia version' | sed 's/Dia version \([[^,]]*\), .*$/\1/' | sed 's/^\([[0-9.]]\+\)+.*$/\1/'`
|
|
|
|
|
+ diaver=`$diaprog --version 2>&1 | grep 'Dia version' | sed 's/Dia version \([^,]*\), .*$/\1/' | sed 's/^\([[0-9.]]\+\)+.*$/\1/'`
|
2018-09-07 16:03:04 +00:00
|
|
|
tmp=`echo $diaver | sed 's/^[[0-9.]]\+$//'`
|
|
|
|
|
if test "x$diaver" = "x" -o "x$tmp" != 'x'; then
|
|
|
|
|
- # Couldn't get the dia version, give up.
|
|
|
|
|
+ # Couldn't get the dia version, guess we have a latest one.
|
|
|
|
|
echo "Couldn't determine the dia version from '$diaver'"
|
|
|
|
|
+ echo "Assuming Dia version 0.94 or newer"
|
|
|
|
|
+ DIA_FILTER_NAME=--filter
|
|
|
|
|
+ DIA="$diaprog"
|
2020-01-26 22:05:19 +00:00
|
|
|
exit 1
|
2018-09-07 16:03:04 +00:00
|
|
|
else
|
|
|
|
|
DIA="$diaprog"
|