Re: Need help with autoconf configure script

2005-07-13 Thread Andre Caldas
Hello! +configure:4995: conftest.c +../cgdb/configure: line 1: conftest.c: command not found Is it trying to execute conftest.c? Probably the environment variable is not set (or unset). What is line 1 of ../cgdb/configure? Andre Caldas. ___ Aut

Re: Need help with autoconf configure script

2005-07-13 Thread Andreas Schwab
Bob Rossi <[EMAIL PROTECTED]> writes: > On Wed, Jul 13, 2005 at 12:04:27AM +0200, Andreas Schwab wrote: >> Bob Rossi <[EMAIL PROTECTED]> writes: >> >> > If I run ./configure then by default opt_with_readline_prefix is "no". >> > During ../cgdb/configure I get, >> >checking pty.h usability...

Re: Need help with autoconf configure script

2005-07-13 Thread Bob Rossi
On Wed, Jul 13, 2005 at 03:47:20PM +0900, Andre Caldas wrote: > Hello! > > >+configure:4995: conftest.c > >+../cgdb/configure: line 1: conftest.c: command not found > > Is it trying to execute conftest.c? > Probably the environment variable is not set (or unset). > What is line 1 of ../cgdb/con

Re: Need help with autoconf configure script

2005-07-13 Thread Bob Rossi
On Wed, Jul 13, 2005 at 11:02:48AM +0200, Andreas Schwab wrote: > Bob Rossi <[EMAIL PROTECTED]> writes: > > > On Wed, Jul 13, 2005 at 12:04:27AM +0200, Andreas Schwab wrote: > >> Bob Rossi <[EMAIL PROTECTED]> writes: > >> > >> > If I run ./configure then by default opt_with_readline_prefix is "no

Handling __STDC__ on Windows

2005-07-13 Thread Paul D. Smith
I have a bunch of macros in GNU make that try to determine whether the compiler groks ANSI C, like this: #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) But, that doesn't work on Windows because the Windows compilers do this: #define __STDC__ 0 I guess the feeling is they su

Re: Configure help

2005-07-13 Thread Bob Rossi
> > Thanks for the general philosophy on how to accomplish this task, it's > > much needed. I have several questions though, > > > > I understand how to set the libs flag, > >LIBS="$LIBS -lreadline -lhistory" > > Nope. Most likely, you want >LIBS="-lreadline -lhistory $LIBS" > instead.

Re: Handling __STDC__ on Windows

2005-07-13 Thread Thomas Dickey
On Wed, 13 Jul 2005, Paul D. Smith wrote: I have a bunch of macros in GNU make that try to determine whether the compiler groks ANSI C, like this: #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) But, that doesn't work on Windows because the Windows compilers do this: #define

Re: Handling __STDC__ on Windows

2005-07-13 Thread Paul Eggert
"Paul D. Smith" <[EMAIL PROTECTED]> writes: > I have a bunch of macros in GNU make that try to determine whether the > compiler groks ANSI C, like this: > > #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) > > But, that doesn't work on Windows because the Windows compilers do this:

Re: RFC: Does hand editing of "config.h" make sense?

2005-07-13 Thread Bernd Jendrissek
On Fri, May 27, 2005 at 04:41:22PM +0100, Keith MARSHALL wrote: > Bob Friesenhahn wrote, quoting me: > > Unfortunately, while the user is able to add definitions, I am not > > aware of a way to remove definitions other than to edit the > > configured header files. > > And, as Stepan has already no