diff --git a/alliance/src/configure.in b/alliance/src/configure.in index 058862ec..babeb1be 100644 --- a/alliance/src/configure.in +++ b/alliance/src/configure.in @@ -25,7 +25,7 @@ dnl Almost ten years since I wrote this stuff, I just can't dnl believe it dnl Date : 01/02/2002 dnl Author : Frederic Petrot -dnl $Id: configure.in,v 1.1 2002/03/14 08:24:20 fred Exp $ +dnl $Id: configure.in,v 1.2 2002/03/15 16:17:13 fred Exp $ dnl dnl AC_INIT(./mbk) @@ -34,14 +34,34 @@ AC_PROG_CC AC_PROG_RANLIB changequote(,)dnl -dirs=`\ls -1pd $srcdir/* | grep / | grep -v CVS` -for i in $dirs ; do - if test -f $i/configure.in ; then +# Build a compilation order that ensures that the libraries are +# compiled and installed prior to the tools +# Add in the following variable the library name (or part of it, as a +# match is performed) that you what to compile prior to anything +libraries="\//"` +done +for i in $ldirs $tdirs ; do + if test -f $srcdir/$i/configure.in ; then sdirs="$sdirs `basename $i`" fi done -SUBDIRS=$sdirs +echo $sdirs +SUBDIRS="$sdirs" changequote([,])dnl + AC_CONFIG_SUBDIRS($sdirs) AC_SUBST(SUBDIRS)