Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Stepan Kasal
Hello, On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote: #ifdef HAVE_LIMITS add line AC_CHECK_HEADERS([limits]) to configure.ac (or configure.in). HTH, Stepan Kasal

Re: compile with VC++

2005-10-26 Thread Harald Dunkel
Stepan Kasal wrote: I looked at /usr/share/automake-1.9/compile and I cannot understand how this could happen. I think that the parametr to compile should look like some/path/main.c which becomes cfile, and then cofile is assigned as cofile=`echo $cfile | sed -e 's|^.*/||' -e

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Steven Woody
Stepan Kasal [EMAIL PROTECTED] writes: Hello, On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote: #ifdef HAVE_LIMITS add line AC_CHECK_HEADERS([limits]) to configure.ac (or configure.in). HTH, Stepan Kasal thanks. but still got problem. if i say,

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Ralf Corsepius
On Wed, 2005-10-26 at 21:52 +0800, Steven Woody wrote: Stepan Kasal [EMAIL PROTECTED] writes: Hello, On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote: #ifdef HAVE_LIMITS add line AC_CHECK_HEADERS([limits]) to configure.ac (or configure.in). HTH, Stepan

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Andreas Schwab
Ralf Corsepius [EMAIL PROTECTED] writes: limits.h is a POSIX header. On linux it is supplied by GCC. So if you want to check for limits, you should use AC_CHECK_HEADERS([limits]) If this fails, something else is broken and you will have to investigate. It could be a bug inside of limits,

Re: Defining Macros With Literal Values

2005-10-26 Thread Andreas Schwab
Eric Lemings [EMAIL PROTECTED] writes: Greetings, I have a tricky little problem I was hoping someone could help me with. I am trying to write an Autotools macro that extracts the value of a macro from a system header file and defines another preprocessor macro with the same value. You

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Steven Woody
Andreas Schwab [EMAIL PROTECTED] writes: Ralf Corsepius [EMAIL PROTECTED] writes: limits.h is a POSIX header. On linux it is supplied by GCC. So if you want to check for limits, you should use AC_CHECK_HEADERS([limits]) If this fails, something else is broken and you will have to

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Steven Woody
Ralf Corsepius [EMAIL PROTECTED] writes: On Wed, 2005-10-26 at 21:52 +0800, Steven Woody wrote: Stepan Kasal [EMAIL PROTECTED] writes: Hello, On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote: #ifdef HAVE_LIMITS add line AC_CHECK_HEADERS([limits]) to

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Ralf Corsepius
On Thu, 2005-10-27 at 08:28 +0800, Steven Woody wrote: Andreas Schwab [EMAIL PROTECTED] writes: Ralf Corsepius [EMAIL PROTECTED] writes: limits.h is a POSIX header. On linux it is supplied by GCC. So if you want to check for limits, you should use AC_CHECK_HEADERS([limits]) If

Re: configure can not determin 'HAVE_LIMITS'

2005-10-26 Thread Ralf Corsepius
On Thu, 2005-10-27 at 08:29 +0800, Steven Woody wrote: Ralf Corsepius [EMAIL PROTECTED] writes: On Wed, 2005-10-26 at 21:52 +0800, Steven Woody wrote: Stepan Kasal [EMAIL PROTECTED] writes: Hello, On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote: #ifdef