1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* acinclude.m4: AC_LANG not a variable now -- use __cplusplus

unconditionally .
This commit is contained in:
Rob Browning 2001-06-02 20:35:14 +00:00
parent 237b3247ac
commit ee79b9ff89

View file

@ -76,11 +76,10 @@ dnl select. Similarly for bzero.
which can conflict with char $1(); below. */ which can conflict with char $1(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
])dnl /* 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();
], [ ], [