mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .
This commit is contained in:
parent
237b3247ac
commit
ee79b9ff89
1 changed files with 2 additions and 3 deletions
|
@ -76,11 +76,10 @@ dnl select. Similarly for bzero.
|
|||
which can conflict with char $1(); below. */
|
||||
#include <assert.h>
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#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. */
|
||||
char $1();
|
||||
], [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue