From ee79b9ff89e6f2b33e00221172b5bb5853f3e983 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 2 Jun 2001 20:35:14 +0000 Subject: [PATCH] * acinclude.m4: AC_LANG not a variable now -- use __cplusplus unconditionally . --- acinclude.m4 | 5 ++--- 1 file 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 /* 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(); ], [