aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/dejagnu.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config/dejagnu.m4 b/config/dejagnu.m4
index 0606e42..e0ed818 100644
--- a/config/dejagnu.m4
+++ b/config/dejagnu.m4
@@ -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])