This commit is contained in:
Hugo Melder 2022-08-03 18:15:11 +02:00
parent 1bc02c310c
commit 3ede3f6b44

View file

@ -11,7 +11,7 @@ AC_DEFUN([GS_CHECK_ABI20_LINKER], [dnl
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_GREP])
AC_CACHE_CHECK([for an gnustep-2.0 ABI compatible linker],[gs_cv_abi20_linker], [dnl
gs_cv_abi20_linker="unkown"
gs_cv_abi20_linker="unknown"
AS_VAR_PUSHDEF([LD], [gs_cv_abi20_linker_prog])
LD=$($CC --print-prog-name=ld)
if $LD --version | $GREP -q 'GNU ld'; then
@ -30,4 +30,4 @@ AC_DEFUN([GS_CHECK_ABI20_LINKER], [dnl
AC_MSG_WARN([The detected linker might not produce working Objective-C binaries using the gnustep-2.0 ABI. Consider using gold or LLD.])
fi
AS_VAR_IF([_gs_abi20_linker], ["yes"], [$1], [$2])
])
])