Re: --include-deps



On Mon, 20 Aug 2001, Raja R Harinath wrote:

> Hi,
>
> Owen Taylor <otaylor redhat com> writes:
> > A bunch of the patches you've submitted include changes to
> > autogen.sh like:
> >
> > +case $CC in
> > +*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
> > +esac
> > +if test -n "$CC" && echo $CC | grep -v gcc >/dev/null 2>&1; then
> > +        $CC -v 2>&1 | grep gcc || am_opt=--include-deps
> > +fi
> > +
>
> I think it's much simpler to just use an automake pre-release off it's
> "stable" branch.
>
>   ftp://sources.redhat.com/pub/automake/automake-1.4l.tar.gz
>
> It has pretty good support for dependency handling for non-GCC
> compilers.  --include-deps is obsolete.

Note that gtk+ (or stable gdk-pixbuf) won't compile first off with these
development automake releases (they are 1.5 betas, in effect), as AS and
ASFLAGS aren't set.  This can be fixed by adding the following line to
configure.in somewhere:
  AM_PROG_AS

James.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]