summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2001-06-02 20:35:14 +0000
committerRob Browning <rlb@defaultvalue.org>2001-06-02 20:35:14 +0000
commitee79b9ff89e6f2b33e00221172b5bb5853f3e983 (patch)
treef2ab1a8ace6e17d43666b5210085846e242af0ff /acinclude.m4
parent237b3247ac28841259fd0bdb80de5f11d54e1fe8 (diff)
* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m45
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();
], [