Autoconf urgle

Hmm. I hadn’t factored this into the equation, but now I have my nice, relatively flat directory structure (two sub-directories, include and src), autoconf causes Make to build all those .o files in my top-level directory, which is not where I want them. Ideally I want them either under a single object files directory or under something less generic, like “Debug/*.o” and “Release/*.o”.

Damn if the info pages aren’t a pain in the ass to work with too. Between reading the info pages and googling I’ve wasted nearly an hour on this seemingly thing…

One Comment

Ok – I found a way to do it, although it’s a bit icky.

$ aclocal && autoconf && libtoolize -f --force
$ automake -a --foreign
$ cd build
$ ../configure

Leave a Reply

Name and email address are required. Your email address will not be published.

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

You may use these HTML tags and attributes:

<a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <pre> <q cite=""> <s> <strike> <strong> 

%d bloggers like this: