autoconf
[Top][All Lists]
Advanced

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

Re: AC_C_CONST with C++


From: Lorenzo Bettini
Subject: Re: AC_C_CONST with C++
Date: Tue, 12 Dec 2006 12:39:23 +0100
User-agent: Icedove 1.5.0.8 (X11/20061123)

Paul Eggert wrote:
Lorenzo Bettini <address@hidden> writes:

I'm using this macro AC_C_CONST in a configure script of a program
that uses both C and C++.

The current Autoconf documentation says of AC_C_CONST "This macro is
obsolescent, as current C compilers support `const'.  New programs
need not use this macro."

So the simplest fix for you is to not use AC_C_CONST.


OK, I see; especially I agree that if one has such an old C compiler it will be impossible to compile the C++ code.

thanks
        Lorenzo

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.gnu.org/software/gengen                  |
| http://doublecpp.sourceforge.net                    |
+-----------------------------------------------------+





reply via email to

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