[XviD-devel] [RFC] Autoconf/automake/libtool tree

Edouard Gomez xvid-devel@xvid.org
Sun, 18 Aug 2002 15:49:55 +0200


Hello folks,

As  many people  is asking  for a  centralized Makefile  for  all unix
platforms  and flavors, I'm  beginning to  turn the  current Makefiles
into a single autoconf/automake/libtool templates.

I have a pair of questions about the way I must write them :

 - configure.in will detect all cpus types, check for nasm when needed
This implies a change in xvid.c  where X86 means "nasm is present". We
should rename  this preprocessor  directive to HAVE_NASM  or something
more precise than just X86.

 - i'm currently  writing a single  Makefile.am for all the  tree.  In
previous  OSS  projects,  i  have  always  used  a  Makefile  per  sub
directory.   If  someone  has  experienced problems  with  the  single
Makefile.am, it  would be nice to  inform me what problems  he had and
how he resolved  them. Because I want to keep  the autoconf stuff easy
to maintain  and understand  but if the  single Makefile.am  makes the
thing much harder for the dist  target per example, it would be better
to keep the simple "1 Makefile.am per subdirectory".

Waiting for your comments.

NB: gentoo, marillat debian packager wil be happy with that (i hope :)

-- 
Edouard Gomez