summaryrefslogtreecommitdiff
blob: 06c073aa2761df583ea5e4d4fd58a782e3983d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/configure.ac
+++ b/configure.ac
@@ -21,10 +21,11 @@
 PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.38])
 PKG_CHECK_MODULES([GIO], [gio-unix-2.0])
 
-AC_PATH_PROG([GDBUS_CODEGEN], [`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`])
+GDBUS_CODEGEN=`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`
 if test -z "$GDBUS_CODEGEN"; then
     AC_MSG_ERROR([*** gdbus-codegen is required to build playerctl])
 fi
+AC_SUBST(GDBUS_CODEGEN)
 
 # Checks for typedefs, structures, and compiler characteristics
 AC_PROG_CC_STDC