mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
declaration in extern "C" too. Reported by Roberto Bagnara.
This commit is contained in:
parent
4b63001766
commit
34afd91665
@ -1,3 +1,9 @@
|
|||||||
|
2002-11-06 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
|
||||||
|
declaration in extern "C" too.
|
||||||
|
Reported by Roberto Bagnara.
|
||||||
|
|
||||||
2002-11-06 Akim Demaille <akim@epita.fr>
|
2002-11-06 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* tests/torture.at (Configuring subdirectories): Don't use grep
|
* tests/torture.at (Configuring subdirectories): Don't use grep
|
||||||
|
1
THANKS
1
THANKS
@ -156,6 +156,7 @@ Ralf S. Engelschall rse@engelschall.com
|
|||||||
Richard Stallman rms@gnu.org
|
Richard Stallman rms@gnu.org
|
||||||
Robert Lipe robertlipe@usa.net
|
Robert Lipe robertlipe@usa.net
|
||||||
Robert S. Maier rsm@math.arizona.edu
|
Robert S. Maier rsm@math.arizona.edu
|
||||||
|
Roberto Bagnara bagnara@cs.unipr.it
|
||||||
Roland McGrath roland@gnu.org
|
Roland McGrath roland@gnu.org
|
||||||
Rüdiger Kuhlmann info@ruediger-kuhlmann.de
|
Rüdiger Kuhlmann info@ruediger-kuhlmann.de
|
||||||
Ruediger Kuhlmann uck4@rz.uni-karlsruhe.de
|
Ruediger Kuhlmann uck4@rz.uni-karlsruhe.de
|
||||||
|
@ -173,11 +173,15 @@ m4_define([AC_LANG_FUNC_LINK_TRY(C)],
|
|||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
builtin and then its argument prototype would still apply. */
|
builtin and then its argument prototype would still apply. */
|
||||||
char $1 ();
|
char $1 ();
|
||||||
char (*f) ();
|
char (*f) ();
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
],
|
],
|
||||||
[/* The GNU C library defines this for functions which it implements
|
[/* The GNU C library defines this for functions which it implements
|
||||||
to always fail with ENOSYS. Some functions are actually named
|
to always fail with ENOSYS. Some functions are actually named
|
||||||
|
Loading…
Reference in New Issue
Block a user