+Wed Sep 24 16:10:37 1997 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (handle_programs): Define _DEPENDENCIES variable if
+ not defined by user.
+
Thu Sep 18 19:43:38 1997 Tom Tromey <tromey@cygnus.com>
* m4/sanity.m4: Quote "$@" for m4. From Gord Matzigkeit.
}
$lex_file_seen = 0;
}
+ elsif (! &variable_defined ($xname . '_DEPENDENCIES'))
+ {
+ &define_variable ($xname . '_DEPENDENCIES', '');
+ }
$xt = '_SOURCES'
}
@file{regex.h} should be removed, because the correct one cannot be
known until the user configures the package.
-As it turns out, @code{automake} is actually smart enough to the
+As it turns out, @code{automake} is actually smart enough to handle the
particular case of the regular expression header. It will also
automatically omit @file{libintl.h} if @samp{AM_GNU_GETTEXT} is used.
@code{automake}.
The actual dependency files are put under the build directory, in a
-subdirectory named @file{.deps}. These depencencies are machine
+subdirectory named @file{.deps}. These dependencies are machine
specific. It is safe to delete them if you like; they will be
automatically recreated during the next build.
-@set UPDATED 6 August 1997
+@set UPDATED 24 September 1997
@set EDITION 1.2a
@set VERSION 1.2a
+Wed Sep 24 16:01:59 1997 Tom Tromey <tromey@cygnus.com>
+
+ * depend3.test: New file.
+
Mon Aug 25 17:24:42 1997 Tom Tromey <tromey@cygnus.com>
* cygwin32.test: Use AM_EXEEXT, not AM_CYGWIN32.
defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
cxxlibobj.test seenc.test cygwin32.test lisp.test stamph.test \
ldadd.test version2.test conf2.test cond.test cond2.test xsource.test \
-libobj6.test
+libobj6.test depend3.test
EXTRA_DIST = defs $(TESTS)
defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
cxxlibobj.test seenc.test cygwin32.test lisp.test stamph.test \
ldadd.test version2.test conf2.test cond.test cond2.test xsource.test \
-libobj6.test
+libobj6.test depend3.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
--- /dev/null
+#! /bin/sh
+
+# Test _DEPENDENCIES variable. From Lee Iverson.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AM_PROG_INSTALL
+AC_PROG_CC
+AC_SUBST(DEPS)
+AC_OUTPUT(Makefile)
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = TerraVision
+
+TerraVision_SOURCES = \
+ AboutDialog.c Clock.c Dialogs.c DrawModel.c \
+ TsmWidget.c Gats.c GATSDialogs.c Model.c ModelAnim.c \
+ ScannedMap.c \
+ TerraVision.c TerraVisionAvs.c TerraVisionCAVE.c \
+ Texture.c ThreeDControl.c ThreeDPanel.c \
+ ThreeDWidget.c ThreeDWidget1.c TileManager.c \
+ TileRequester.c TwoDWidget.c \
+ Visible.c RequestGenerator.c X11FrameGrab.c \
+ matrix.c pixmaps.c xpmhash.c xpmread.c xcolor.c xv24to8.c
+
+DEPS = @DEPS@
+
+TerraVision_DEPENDENCIES = $(DEPS)
+END
+
+$AUTOMAKE
-@set UPDATED 6 August 1997
+@set UPDATED 24 September 1997
@set EDITION 1.2a
@set VERSION 1.2a