mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
Remove use of exit in configure test sources.
* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main, to avoid using undeclared exit. Report against OpenMPI from Coverity via Jeff Squyres. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
bda06a53b0
commit
4eca607f69
@ -1,5 +1,10 @@
|
||||
2008-08-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Remove use of exit in configure test sources.
|
||||
* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Return from main,
|
||||
to avoid using undeclared exit.
|
||||
Report against OpenMPI from Coverity via Jeff Squyres.
|
||||
|
||||
* tests/configure-iface.at (convenience libltdl): Ignore warning
|
||||
from parallel make.
|
||||
|
||||
|
6
libltdl/m4/libtool.m4
vendored
6
libltdl/m4/libtool.m4
vendored
@ -1684,10 +1684,6 @@ else
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" void exit (int);
|
||||
#endif
|
||||
|
||||
void fnord() { int i=42;}
|
||||
int main ()
|
||||
{
|
||||
@ -1703,7 +1699,7 @@ int main ()
|
||||
else
|
||||
puts (dlerror ());
|
||||
|
||||
exit (status);
|
||||
return status;
|
||||
}]
|
||||
_LT_EOF
|
||||
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user