X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/bc3006694a3513139bf3e941a68c836530a9fe45..06991b16dda9f3dc3991f39599512a7e94260667:/m4/gob2.m4 diff --git a/m4/gob2.m4 b/m4/gob2.m4 index b508fae..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=: @@ -48,5 +49,5 @@ AS_IF([test x"$dx_cv_gob_works" = x"yes"], The latest version may be found at . ])])]) -rm -f conftest* +rm -f conftest.c conftest.gob ])