]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-01-09 J"orn Rennecke <amylaar@cygnus.co.uk>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 8 Jan 1999 06:31:59 +0000 (06:31 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 8 Jan 1999 06:31:59 +0000 (06:31 +0000)
        * acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index a4debef8301976fcee3f2f13edc298ceb5334931..c6f069bcc68904c92c5b5db20e705c9e1f12b519 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-01-09  J"orn Rennecke  <amylaar@cygnus.co.uk>
+
+       * acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.
+       
 1999-01-09  H.J. Lu  <hjl@lucon.org>
 
        * config.guess: Permit multiple concurrent instances by including
index ae971de139977f52d92f424f0890bbab3ede4093..ebcb9d4ec79e5827d778eb165c48ae43033def01 100644 (file)
@@ -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
index ae971de139977f52d92f424f0890bbab3ede4093..ebcb9d4ec79e5827d778eb165c48ae43033def01 100644 (file)
@@ -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