X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/c01bc8e8ea99252f4249434e432896c8f2ae1199..485ec08e224f3ffed90259f445839572096187a0:/m4/gob2.m4 diff --git a/m4/gob2.m4 b/m4/gob2.m4 index 5292c5c..3e95ab4 100644 --- a/m4/gob2.m4 +++ b/m4/gob2.m4 @@ -25,8 +25,8 @@ AC_CACHE_CHECK([for GObject Builder], [ac_cv_path_GOB2], AC_PATH_PROGS_FEATURE_CHECK([GOB2], [gob2], [rm -f conftest.c $ac_path_GOB2 conftest.gob >&AS_MESSAGE_LOG_FD 2>&1 && test -f conftest.c && { - gob_relcmd=${ac_path_GOB2##*/} - gob_bypath=`command -v "$gob_relcmd"` # '' + DX_BASENAME([gob_relcmd], ["$ac_path_GOB2"]) + gob_bypath=`{ command -v "$gob_relcmd"; } 2>/dev/null` # '' ac_cv_path_GOB2=$ac_path_GOB2 test x"$gob_bypath" = x"$ac_path_GOB2" && ac_cv_path_GOB2=$gob_relcmd ac_path_GOB2_found=: