> From: Stipe Tolj > Sent: 07 July 2008 19:17 > > Stipe Tolj schrieb: > > > > Can you point out why you need to omit the .depend file creation if the > > compiler is not gcc? > > i.e. the Intel CC handles the options and can build without changes. > The native compilers for AIX, HP-UX and Solaris do not handle these options. If a compiler other than gcc supports these options, though, then my patch goes from a quick fix to an ugly and inaccurate quick fix :(
Other solutions would be to: - have autoconf try to detect whether the compiler supports -MM, - use the X11 makedepend utility, - use automake. My preference would be for the last of these. What do other people think? -james
