This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: advice sought for a deep package makefiles organisation


On Jun  5, 1999, Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr> wrote:

> I'd like to build either GTK or Motif version depending on command
> line switches given to configure.

I suggest you to keep gtk and motif with their own configury
mechanisms and use AC_CONFIG_SUBDIRS($build_gtk $build_motif) in the
top-level configure.  build_gtk and build_motif would be set empty or
`gtk' and `motif', respectively.  You may have to tweak with
LDFLAGS/LIBS in order to find the built libraries in your build dir,
if you decide to build them, but that's all.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]