mirror of
https://github.com/bminor/binutils-gdb.git
synced 2026-03-23 23:59:52 +00:00
config: Update obsolete autoconf macro
Change AC_TRY_LINK to AC_LINK_IFELSE in config/dejagnu.m4. Reviewed-by: Indu Bhagat <indu.bhagat@oracle.com>
This commit is contained in:
@@ -9,9 +9,9 @@ AC_DEFUN([DEJAGNU_CHECK_VERSION],
|
||||
AC_MSG_CHECKING([for incompatibility between DejaGnu and GCC])
|
||||
AC_MSG_RESULT([$ac_cv_dejagnu_compat])
|
||||
|
||||
AC_TRY_LINK([#include <dejagnu.h>],
|
||||
[pass ("test foo");
|
||||
return 0;],
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <dejagnu.h>]],
|
||||
[[pass ("test foo");
|
||||
return 0;]])],
|
||||
[ac_cv_dejagnu_compat=yes],
|
||||
[ac_cv_dejagnu_compat=no])
|
||||
AC_MSG_RESULT([$ac_cv_dejagnu_compat])
|
||||
|
||||
Reference in New Issue
Block a user