automake, autoconf, aclocal and ./confiugre

Derek Atkins warlord-DPNOqEs/LNQ at public.gmane.org
Thu Oct 7 09:01:43 EDT 2010


Doug,

Doug <sweetser-FrUbXkNCsVf2fBVCVOL8/A at public.gmane.org> writes:

> Hello:
>
> I am trying to bundle up my command line quaternion software to be
> used on a windows box.  I know there is an idiom:
>
> ./configure
> make
> make install
>
> That all works, so long as first I run:
>
> aclocal && automake && autoconf
>
> Is there a way to invoke these via a modification of configure.ac or
> something?  I have seen lots of diagrams about the relationships of
> all these tools, but still am confused.

It all depends what you're trying to do.  You can generally do:

aclocal && automake && autoconf && ./configure && make dist

This will generate a <package>-<version>.tar.gz file that you can then
use anywhere.  From that package you can then do:

untar
./configure && make && make install

All this can be done on Windows if you're using a system like Cygwin or
MSys.  For the GnuCash project we use MSys, and indeed we even run the
auto-tools on windows directly!  So it's certainly doable if you have
the right tools.

Hope this helps,

> Doug

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord-DPNOqEs/LNQ at public.gmane.org                        PGP key available





More information about the Discuss mailing list