*** empty log message ***
[bpt/guile.git] / configure.in
CommitLineData
733943b9 1dnl Process this file with autoconf to produce configure.
0f2d19dd 2AC_INIT(Makefile.in)
2d26def0 3. $srcdir/GUILE-VERSION
733943b9 4AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
15ae1bee 5AM_MAINTAINER_MODE
2d26def0 6
733943b9 7dnl FIXME: tsort, xargs not GNU standard.
0f2d19dd
JB
8all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
9req_subdirs=`cat $srcdir/*/PLUGIN/REQ /dev/null | tsort | xargs echo`
10opt_subdirs=`cat $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
86789f9b 11
0f2d19dd 12AC_CONFIG_SUBDIRS($all_subdirs)
0f2d19dd
JB
13for d in $all_subdirs; do
14 if test -d $srcdir/$d ; then
15 existingdirs="$existingdirs $d"
733943b9 16 test -n "$silent" || echo Configuring plug-in component $d
0f2d19dd
JB
17 fi
18done
19
20for d in $req_subdirs; do
733943b9
TT
21 test -d $srcdir/$d || {
22 echo ERROR: Missing required package: $d 1>&2
23 exit 1
24 }
0f2d19dd
JB
25done
26
0f2d19dd 27AC_SUBST(existingdirs)
2f38f619 28AC_OUTPUT(Makefile newdoc/Makefile newdoc/ref/Makefile newdoc/tutorial/Makefile)