diff options
author | Rob Browning <rlb@defaultvalue.org> | 2001-06-02 20:35:14 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2001-06-02 20:35:14 +0000 |
commit | ee79b9ff89e6f2b33e00221172b5bb5853f3e983 (patch) | |
tree | f2ab1a8ace6e17d43666b5210085846e242af0ff /acinclude.m4 | |
parent | 237b3247ac28841259fd0bdb80de5f11d54e1fe8 (diff) | |
download | guile-ee79b9ff89e6f2b33e00221172b5bb5853f3e983.tar.gz |
* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7765f64d4..f0402880a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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(); ], [ |