From: Ben Elliston Date: Fri, 8 Jan 1999 06:31:59 +0000 (+0000) Subject: 1999-01-09 J"orn Rennecke X-Git-Tag: experimental-branchpoint~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce576cb18089a0971effe6ce9fb0323d86f7b0ad;p=thirdparty%2Fautoconf.git 1999-01-09 J"orn Rennecke * acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function. --- diff --git a/ChangeLog b/ChangeLog index a4debef8..c6f069bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-01-09 J"orn Rennecke + + * acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function. + 1999-01-09 H.J. Lu * config.guess: Permit multiple concurrent instances by including diff --git a/acgeneral.m4 b/acgeneral.m4 index ae971de1..ebcb9d4e 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1935,6 +1935,7 @@ extern "C" [/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $1(); +char (*f)(); ], [ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -1942,7 +1943,7 @@ char $1(); #if defined (__stub_$1) || defined (__stub___$1) choke me #else -$1(); +f = $1; #endif ], eval "ac_cv_func_$1=yes", eval "ac_cv_func_$1=no")]) if eval "test \"`echo '$ac_cv_func_'$1`\" = yes"; then diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index ae971de1..ebcb9d4e 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1935,6 +1935,7 @@ extern "C" [/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $1(); +char (*f)(); ], [ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -1942,7 +1943,7 @@ char $1(); #if defined (__stub_$1) || defined (__stub___$1) choke me #else -$1(); +f = $1; #endif ], eval "ac_cv_func_$1=yes", eval "ac_cv_func_$1=no")]) if eval "test \"`echo '$ac_cv_func_'$1`\" = yes"; then