[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: configure & make in subdir (was: please help: cannot link c-library
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-12-20 13:41:18
[Download RAW message or body]

claus wilke wrote:
> 
> Sorry,
> 
> I have some more questions.
> 
> I have added the AC_CONFIG_SUBDIRS macro in configure.in. In my case it looks
> like
> AC_CONFIG_SUBDIRS (kbiblio/btparse/configure)
Hmm, this gives _subdirs_. Is configure a directory or a script?

> (my program is in subdir kbiblio, and the library is in sub-subdir btparse)
> Now, on ./configure, the configure script of the btparse package is called. So
> this works as expected. However, the files that the configure of btparse
> generates are written into the directory ./, not into the directory
> kbiblio/btparse/   :-(. So in summary, it doesn't work.
then the configure of btparse is not of GNU autoconf.
> 
> Another problem arises in the make process. Adding btparse to the subdir line in
> the Makefile.am of kbiblio doesn't help to compile btparse, because automake is
> involved, which looks for a Makefile.in in btparse, which is not there because
> btparse build works differently from the kde-build process. So what I really
> need is the possibility to simply invoke the command make in the subdir
> kbiblio/btparse.

Then do it yourself.
all-local:
	$(MAKE) -C btparse all

Greetings, Stephan

-- 
When your memory goes, forget it!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic