Re: C Compiler dependency-file generation

2001-05-18 Thread autoconf
On Fri, May 18, 2001 at 11:40:51AM -0400, Jeff Dubrule wrote: > Is there currently an accepted mechanism for determining whether a C > compiler is going to be able to generate dependencies the way automake > likes? I think you'll lose with CVS automake which I think supports more than GCC for aut

Re: newbi question on AC_CHECK_FILE Warning message (...crosscompiling)

2001-05-18 Thread Peter Eisentraut
Alexandre Oliva writes: > On May 18, 2001, Andrej Aderhold <[EMAIL PROTECTED]> wrote: > > > but I just want to have this warning disappear. What shall I do ? > > You have to stop using this macro. It correctly warns you that this > macro won't work correctly in cross-compilation environments. S

C Compiler dependency-file generation

2001-05-18 Thread Jeff Dubrule
Is there currently an accepted mechanism for determining whether a C compiler is going to be able to generate dependencies the way automake likes? I'm currently using this function def in my acinclude.m4 file: AC_DEFUN(AC_PROG_CC_DEPENDENCIES, [ AC_CACHE_CHECK( [whether the C compilers($C

Re: newbi question on AC_CHECK_FILE Warning message (...cross compiling)

2001-05-18 Thread Alexandre Oliva
On May 18, 2001, Andrej Aderhold <[EMAIL PROTECTED]> wrote: > but I just want to have this warning disappear. What shall I do ? You have to stop using this macro. It correctly warns you that this macro won't work correctly in cross-compilation environments. -- Alexandre Oliva Enjoy Guarana'

newbi question on AC_CHECK_FILE Warning message (...cross compiling)

2001-05-18 Thread Andrej Aderhold
Hello, I got the following line in my configure.in AC_CHECK_FILE("/etc/ntp.conf", NTP_CONF="/etc/ntp.conf", AC_MSG_WARN([ *** /etc/ntp.conf does not exist.])) when I run autoconf I get the following warning. I get this warning on each AC_CHECK_FILE macro. configure.in:79: warning: Cannot chec