Commit b4960787 authored by Philip Withnall's avatar Philip Withnall Committed by Zeeshan Ali

build: Fix detection of gdbus-codegen tool

The code didn’t even make sense. My bad.

https://bugs.freedesktop.org/show_bug.cgi?id=91939
parent 05dd4473
......@@ -174,13 +174,10 @@ if test x$cross_compiling != xyes; then
else
AC_PATH_PROG([GDBUS_CODEGEN],[gdbus-codegen])
fi
AC_SUBST([GDBUS_CODEGEN])
if test "x$GDBUS_CODEGEN" = "x"; then
ifelse([$2],,[AC_MSG_ERROR([gdbus-codegen not found.])],[$2])
else
ifelse([$1],,[:],[$1])
fi
AS_IF([test "$GDBUS_CODEGEN" = ""],[
AC_MSG_ERROR([gdbus-codegen not found])
])
# systemd
AC_ARG_WITH([systemdsystemunitdir],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment