[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix to acinclude.m4 -- please check.
From: |
Rob Browning |
Subject: |
Fix to acinclude.m4 -- please check. |
Date: |
02 Jun 2001 00:02:23 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Here's the fix I added to acinclude.m4. I wasn't absolutely sure
about it, but it seemed correct. The problem is that AC_LANG is not a
variable. I don't know whether it was just coincidence before, or if
they changed the behavior, but checking for CXX seemed like it might
be a suitable alternative, and I didn't find anything better in the
info docs or by looking at configure.
diff -u -r1.12 acinclude.m4
--- acinclude.m4 2001/05/15 00:54:08 1.12
+++ acinclude.m4 2001/06/02 04:59:34
@@ -76,7 +76,7 @@
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(CXX, [#ifdef __cplusplus
extern "C"
#endif
])dnl
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930
- Fix to acinclude.m4 -- please check.,
Rob Browning <=