On Tue, Oct 26, 2004 at 02:43:26PM +0200, Alexandre Duret-Lutz wrote:
> On Tue, Oct 26, 2004 at 02:01:18PM +0200, Peter Simons wrote:
> > Alexandre Duret-Lutz writes:
> >
> >  >> AC_LIBOBJ(libgetopt/getopt)
> >  >> AC_LIBOBJ(libgetopt/getopt1)
> >
> >  > AC_LIBOBJ([getopt])
> >  > AC_LIBOBJ([getopt1])
> >
> > Then automake / autoconf won't find the files:
> >
> >   configure.ac:173: required file `./getopt1.c' not found
> >   configure.ac:173: required file `./getopt.c' not found
> >
>
> It works fine in all the packages I know.
> Could you send a complete test case?

It occured to me that maybe you were trying to use $(LIBOBJS) outside
of libgetopt/Makefile.am.  Don't.  $(LIBOBJS) is expected to be used
only in the directory holding the substitute sources.


Reply via email to