1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00
guile/configure.in
Jim Blandy 2d26def019 Rehashed distribution system, in preparation for nightly
snapshots.  Other changes in subdirectories.
* Makefile.in (dist): Rewritten --- the old target was out of
date, dependent on files that we don't have, and relied on GNU
tar.  The new target is simpler.
(VERSION, srcdir, dist_dirs): New variables.
(DISTFILES): Renamed from localfiles.  Added GUILE-VERSION and
TODO.
(localtreats): Variable removed.  We don't have this file.
(info): cd to doc and make info there; don't make info in every
${subdir}; those Makefiles don't know what to do.
(distname, distdir, treats, announcefile): Variables removed.
(manifest-file): Target removed.
(dist-dir): New target, responsible for distributable files in
this directory.
(GZIP, GZIP_EXT, TAR_VERBOSE, DIST_NAME): New variables,
controlling the 'dist' target.
* configure.in: Substitute GUILE-VERSION into the top-level
Makefile.  Build doc/Makefile from doc/Makefile.in.
1996-08-01 08:16:15 +00:00

53 lines
1.2 KiB
Text

AC_INIT(Makefile.in)
. $srcdir/GUILE-VERSION
all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
req_subdirs=`cat $srcdir/*/PLUGIN/REQ /dev/null | tsort | xargs echo`
opt_subdirs=`cat $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
AC_CONFIG_SUBDIRS($all_subdirs)
existingdirs=
for d in $all_subdirs; do
if test -d $srcdir/$d ; then
existingdirs="$existingdirs $d"
if test "x$verbose" = xyes; then
if test -f $srcdir/$d/PLUGIN/greet ; then
cat $srcdir/$d/PLUGIN/greet
else
echo ===
echo === Configuring plug-in component $d
echo ===
fi
fi
fi
done
for d in $req_subdirs; do
if test ! -d $srcdir/$d ; then
echo "*******"
echo "*******"
echo "**\+/**"
echo "**=*=**" ERROR: Missing required package: $d
echo "**/+\**"
echo "*******"
echo "*******"
exit 1
fi
done
if test "x$verbose" = xyes; then
for d in $opt_subdirs; do
if test ! -d $srcdir/$d ; then
echo "*****"
echo "*===*"
echo "*=*=*" WARNING: Missing suggested package: $d
echo "*===*"
echo "*****"
fi
done
fi
AC_SUBST(existingdirs)
AC_SUBST(GUILE_VERSION)
AC_OUTPUT(Makefile doc/Makefile)