summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4/lrint.m42
-rw-r--r--m4/lrintf.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/m4/lrint.m4 b/m4/lrint.m4
index c60665ce..7d72c73f 100644
--- a/m4/lrint.m4
+++ b/m4/lrint.m4
@@ -13,7 +13,7 @@ dnl
AC_DEFUN([AC_C99_FUNC_LRINT],
[AC_CACHE_CHECK(for lrint,
ac_cv_c99_lrint,
-[AC_TRY_COMPILE([
+[AC_TRY_LINK([
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
diff --git a/m4/lrintf.m4 b/m4/lrintf.m4
index 4ea74b58..f9b76e36 100644
--- a/m4/lrintf.m4
+++ b/m4/lrintf.m4
@@ -13,7 +13,7 @@ dnl
AC_DEFUN([AC_C99_FUNC_LRINTF],
[AC_CACHE_CHECK(for lrintf,
ac_cv_c99_lrintf,
-[AC_TRY_COMPILE([
+[AC_TRY_LINK([
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1