X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/b3a380d027135bff7d13a08557bd7db294d18f08..e599119f0492b01f1f21a8cce8d695c314dab3b1:/m4/gob2.m4 diff --git a/m4/gob2.m4 b/m4/gob2.m4 index 5292c5c..98af0a7 100644 --- a/m4/gob2.m4 +++ b/m4/gob2.m4 @@ -1,4 +1,5 @@ -dnl Copyright © 2020 Nick Bowler +dnl Copyright © 2020-2021 Nick Bowler +dnl dnl License WTFPL2: Do What the Fuck You Want To Public License, version 2. dnl This is free software: you are free to do what the fuck you want to. dnl There is NO WARRANTY, to the extent permitted by law. @@ -25,8 +26,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=: