[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Fw: ac_ext problems
From: |
Keith Marshall |
Subject: |
Re: [Groff] Fw: ac_ext problems |
Date: |
Fri, 6 May 2005 20:46:29 +0100 |
On Friday 06 May 2005 8:09 pm, Zvezdan Petkovic wrote:
> Obviously only gmake recognizes .cpp as a C++ file on a Unix system.
> With older version of gmake on a different Unix machine .cpp has not
> been recognized.
This is precisely the reason why I suggested a slightly more sophisticated
patch, than the one which has actually been applied.
In current autoconf CVS, in the AC_LANG(C++) macro in lib/autoconf/c.m4,
I now see `ac_ext=cpp', where previously I saw `ac_ext=cc'. Had that been
defined instead, as `ac_ext=${ac_ext_cc-"cpp"}', or something similar, (it
might need to be `ac_ext=$[]{ac_ext_cc-"cpp"}' for proper quoting), then you
could have used an entry in config.site, such as `ac_ext_cc=cc', to restore
the previous behaviour for your system.
Regards,
Keith.
- Re: [Groff] Fw: ac_ext problems,
Keith Marshall <=