declaration in extern "C" too.
Reported by Roberto Bagnara.
+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>
* tests/torture.at (Configuring subdirectories): Don't use grep
Richard Stallman rms@gnu.org
Robert Lipe robertlipe@usa.net
Robert S. Maier rsm@math.arizona.edu
+Roberto Bagnara bagnara@cs.unipr.it
Roland McGrath roland@gnu.org
RĂ¼diger Kuhlmann info@ruediger-kuhlmann.de
Ruediger Kuhlmann uck4@rz.uni-karlsruhe.de
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
+{
#endif
/* 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) ();
+#ifdef __cplusplus
+}
+#endif
],
[/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named