Hello Hongliang Wang, * Hongliang Wang wrote on Tue, Dec 04, 2007 at 09:35:31AM CET: > > Here is the my autogen.sh [...] > case $CC in > *xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; > esac
This piece of your autogen.sh should not be necessary. At `automake' run time (i.e., autogen.sh run time), you should only decide whether your package wants to allow for dependency tracking at all. At `./configure' time only, the compiler is selected. Per default, dependency tracking is enabled iff the compiler can do it as a side effect. You can also enable it for weaker (more expensive) methods (like `makedepend') by using the configure option --enable-dependency-tracking And you can uniformly disable it with --disable-dependency-tracking Hope that helps. Cheers, Ralf