Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Stepan Kasal
Hello, On Mon, Oct 24, 2005 at 01:41:27PM -0700, Paul Eggert wrote: > > Is there any C, Fortran, or F77 compiler which could create other > > conftst2.* files if it receives -o conftst2.$ac_objext ? > > Quite possibly, yes. OK, so I committed the patch attached below. > But why not name these

Re: Autoconf "languages"

2005-10-25 Thread Keith MARSHALL
Ralf Wildenhues wrote, quoting me: >>> Those who don't use M4SH_INIT are doomed to reinvent it, painfully. >> >> Oh yeah? And M4SH_INIT is so well documented, that everyone will >> rush to use it! > > I already agreed with you that the documentation is bad or not present > in some cases, and t

Re: How to get a literal #undef into config.h

2005-10-25 Thread Stepan Kasal
Hello, On Mon, Oct 24, 2005 at 06:44:07PM -0600, Brian wrote: > I need to get #undef KEY into config.h, but even with AH_VERBATIM or > AH_BOTTOM autoheader turns it into #define KEY 1. use AH_BOTTOM([#include ]) and place your corrections to custom.h. It is "bottom", so you have all the tesult

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Keith MARSHALL
Stepan Kasal wrote: > 3) There is an MSYS build of bash. Though MinGW/MSYS is not ready > to run Autoconf, you can use it to unpack a tarball and run ./configure > there. I don't know where you get this idea from. I have been using Autoconf 2.59 in the MSYS environment for at least nine months n

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Stepan Kasal
Hello, [ ccing Eli, a DOS expert ] On Tue, Oct 25, 2005 at 12:47:10PM +0100, Keith MARSHALL wrote: > Stepan Kasal wrote: > > 3) There is an MSYS build of bash. Though MinGW/MSYS is not ready > > to run Autoconf, you can use it to unpack a tarball and run ./configure > > there. > > I don't know

Autoconf on MSYS+MinGW, was: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Dan Manthey
On Tue, 25 Oct 2005, Stepan Kasal wrote: > 3) There is an MSYS build of bash. Though MinGW/MSYS is not ready > to run Autoconf, you can use it to unpack a tarball and run ./configure > there. > Is it possible that ./configure will then run in the 8.3 environment? > I don't know and that is why I

Re: How to get a literal #undef into config.h

2005-10-25 Thread Brian
Great thanks for the tips. I see its a bit chicken and egg, but is there a reason config.h couldn't just define HAVE_CONFIG_H? On 10/25/05, Stepan Kasal <[EMAIL PROTECTED]> wrote: > > Hello, > > On Mon, Oct 24, 2005 at 06:44:07PM -0600, Brian wrote: > > I need to get #undef KEY into config.h, but

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Bob Friesenhahn
On Tue, 25 Oct 2005, Eli Zaretskii wrote: As for the argument that ``The requirement to support 8.3 file names disappeared with the demise of MS-DOS'' when Windows 95 was introduced, it is IMNSHO is ridiculous. DOS didn't disappear when Windows 95 was unveiled, it is still out there and is bein

Re: Autoconf on MSYS+MinGW, was: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Keith MARSHALL
Dan Manthey wrote: > My Windows environment doesn't have 8.3 issues, so I can't guess > whether there's any need to support 8.3 filenames under MSYS. There isn't. MSYS requires 32-bit Windoze; *all* 32-bit Windoze implementations support long file names. Regards, Keith. ___

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Eli Zaretskii
> Date: Tue, 25 Oct 2005 14:26:23 +0200 > From: Stepan Kasal <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > > > Microsoft added long file name support in Win95 -- the first of the 32-bit > > Windoze releases. The requirement to support 8.3 file names disappeared > > with the demise of MS-DOS, arou

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Keith MARSHALL
> As for the argument that ``The requirement to support 8.3 file names > disappeared with the demise of MS-DOS'' when Windows 95 was > introduced, it is IMNSHO is ridiculous. Ok. I accept that `disappeared' and `demise' were probably poorly chosen words -- what I really meant was `diminished' and

Re: configure: error: C++ preprocessor "/lib/cpp" fails sanity check

2005-10-25 Thread Paul Krash
Bill Moseley hank.org> writes: > I'm getting the "fails sanity check" on my laptop running Debian Sid > after doing a dist-upgrade the other day. I have these packages: > > ii autoconf2.57-11 automatic configure script builder > ii gcc 3.3.1-2 The GNU C c

Re: How to get a literal #undef into config.h

2005-10-25 Thread Keith Marshall
On Tuesday 25 October 2005 3:45 pm, Brian wrote: > Great thanks for the tips. I see its a bit chicken and egg, but is there a > reason config.h couldn't just define HAVE_CONFIG_H? Because your source file is expected to use logic like this:-- #ifdef HAVE_CONFIG_H #include "config.h" #endif

Re: How to get a literal #undef into config.h

2005-10-25 Thread Bruce Korb
Keith Marshall wrote: On Tuesday 25 October 2005 3:45 pm, Brian wrote: Great thanks for the tips. I see its a bit chicken and egg, but is there a reason config.h couldn't just define HAVE_CONFIG_H? Because your source file is expected to use logic like this:-- #ifdef HAVE_CONFIG_H #inc

Escaping a ',' in autoconf

2005-10-25 Thread Kristis Makris
Hello, I'm having a hard time escaping a comma (',') in autoconf. I'm trying to set to a variable the regular expression: [,\s#]. I can set almost everything, except the comma: DEVEL_CONFIG_TEMPLATE_BUGID_SPLIT_REGEX="@<:@[EMAIL PROTECTED]:@@:>@" Can anyone recommend how this is done ? Thanks,

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Brian Dessent
Keith MARSHALL wrote: > Regarding DJGPP, is the modern version still bound by 8.3 file name > constraints? I understood that it had been upgraded to work with > Win2K, and therefore would have expected LFN support to have been > included. As far as I recall, there was a MS DOS release somewhere

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Eli Zaretskii
> Date: Tue, 25 Oct 2005 10:25:25 -0500 (CDT) > From: Bob Friesenhahn <[EMAIL PROTECTED]> > cc: autoconf@gnu.org > > Perhaps MS-DOS will never die, but the requirement to actually build > software under MS-DOS is gone because MS-DOS cross-development tools > are available which run on more capab

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Eli Zaretskii
> Cc: autoconf@gnu.org, > [EMAIL PROTECTED], > autoconf-patches@gnu.org > From: Keith MARSHALL <[EMAIL PROTECTED]> > Date: Tue, 25 Oct 2005 16:29:13 +0100 > > Regarding DJGPP, is the modern version still bound by 8.3 file name > constraints? When DJGPP programs run on Windows 95 and l

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Stepan Kasal
Hello Eli, On Tue, Oct 25, 2005 at 03:47:58PM +0200, Eli Zaretskii wrote: > From the Autoconf archives of this thread, I understand that the issue > was with conftest2.c vs conftst2.c. the problem is this: ./configure runs $CC -c -o conftst2.$ac_objext conftest.c and then checks whether t

Re: Escaping a ',' in autoconf

2005-10-25 Thread Stepan Kasal
Hello, On Tue, Oct 25, 2005 at 06:07:47PM -0700, Kristis Makris wrote: > I'm having a hard time escaping a comma (',') in autoconf. I'm trying to > set to a variable the regular expression: [,\s#]. I can set almost > everything, except the comma: > > DEVEL_CONFIG_TEMPLATE_BUGID_SPLIT_REGEX="@<:@[

Re: How to get a literal #undef into config.h

2005-10-25 Thread Stepan Kasal
Hello, On Tue, Oct 25, 2005 at 12:06:30PM -0700, Bruce Korb wrote: > OTOH, if your project flat won't work on any platform without config.h: > > #ifndef HAVE_CONFIG_H > #define HAVE_CONFIG_H 1 > #endif > #include "config.h" no need for the define, just #include "config.h". Nothing check