com php-src: Fix another implicit function declaration in configure: build/libtool.m4
| From: | Nikita Popov | Date: | Tue, 03 Nov 2020 09:38:16 +0000 |
| Subject: | com php-src: Fix another implicit function declaration in configure: build/libtool.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-114042@lists.php.net to get a copy of this message | ||
Commit: 00ba784a2ce95e009f98e0e6d263634673a3f2e1
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 3 Nov 2020 10:38:16 +0100
Parents: 9690ded288624e8ebb8f331ff305fed9a134e5e3
Branches: PHP-7.3 PHP-7.4 PHP-8.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=00ba784a2ce95e009f98e0e6d263634673a3f2e1
Log:
Fix another implicit function declaration in configure
As mentioned on bug #80171. This one is in libtool.m4, might get
lost on libtool updates.
Bugs:
https://bugs.php.net/80171
Changed paths:
M build/libtool.m4
Diff:
diff --git a/build/libtool.m4 b/build/libtool.m4
index f7f51642920..099a8799352 100644
--- a/build/libtool.m4
+++ b/build/libtool.m4
@@ -978,10 +978,6 @@ else
# endif
#endif
-#ifdef __cplusplus
-extern "C" void exit (int);
-#endif
-
void fnord() { int i=42;}
int main ()
{
@@ -997,7 +993,7 @@ int main ()
else
puts (dlerror ());
- exit (status);
+ return (status);
}]
EOF
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then