guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix to acinclude.m4 -- please check.


From: Marius Vollmer
Subject: Re: Fix to acinclude.m4 -- please check.
Date: 02 Jun 2001 13:16:55 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Rob Browning <address@hidden> writes:

> 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

Why is this conditional anyway?  Can't we just output

    #ifdef __cplusplus
    extern "C"
    #endif

unconditionally?  The C compiler should be able to cope with that just
fine.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]