From 8634d97ad50dbf952c4e3fbe0f08c50f25ced7b7 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Tue, 31 Aug 2004 12:53:36 +0000 Subject: [PATCH] need AC_LANG_PROGRAM here git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14181 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/broken2.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cf/broken2.m4 b/cf/broken2.m4 index 90cb9ab34..71e2afa9a 100644 --- a/cf/broken2.m4 +++ b/cf/broken2.m4 @@ -6,14 +6,14 @@ dnl AC_BROKEN2(func, includes, arguments) AC_DEFUN([AC_BROKEN2], [AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(ac_cv_func_[]$1, -[AC_LINK_IFELSE([AC_LANG_SOURCE([[$2 +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]],[[ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$1) || defined (__stub___$1) choke me #else -$1($3) +$1($3); #endif ]])], [eval "ac_cv_func_[]$1=yes"], [eval "ac_cv_func_[]$1=no"])]) if eval "test \"\${ac_cv_func_[]$1}\" = yes"; then