Tue Mar 18 17:20:03 1997 Tom Tromey <tromey@cygnus.com>
+ * automake.in (initialize_global_constants): [common_files]
+ Include `missing'.
+ (scan_configure): Require `missing'.
+
+ * header-vars.am (MAKEINFO): Don't define.
+
+ * m4/init.m4 (missing_dir): Use AM_MISSING_PROG.
+ * m4/missing.m4: New file.
+
`missing' changes from François Pinard:
* Everywhere: Use ACLOCAL_M4 to name aclocal.m4 file; ACLOCAL now
names aclocal program.
* No longer have to explicitly touch stamp-h when using AC_CONFIG_HEADER;
AM_CONFIG_HEADER handles it automatically
* Texinfo output files no longer need .info extension
+* Added `missing' support
\f
New in 1.0:
* Bug fixes
# looking at a subdir Makefile. We must set relative_dir so that
# the file-finding machinery works.
local ($relative_dir) = '.';
- &require_config_file ($FOREIGN, 'install-sh', 'mkinstalldirs');
+ &require_config_file ($FOREIGN, 'install-sh', 'mkinstalldirs', 'missing');
&am_error ("\`install.sh' is an anachronism; use \`install-sh' instead")
if -f $config_aux_path[0] . '/install.sh';
}
"config.guess", "config.sub", "AUTHORS", "BACKLOG", "ABOUT-GNU",
"libversion.in", "mdate-sh", "mkinstalldirs", "install-sh",
'texinfo.tex', "ansi2knr.c", "ansi2knr.1", 'elisp-comp',
- 'interlock', 'ylwrap', 'acinclude.m4', @libtoolize_files
+ 'interlock', 'ylwrap', 'acinclude.m4', @libtoolize_files,
+ 'missing'
);
# Commonly used files we auto-include, but only sometimes.
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
-MAKEINFO = @MAKEINFO@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
-MAKEINFO = @MAKEINFO@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
MAINT_CHARSET = latin1
m4datadir = $(datadir)/aclocal
-m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 \
-lispdir.m4 maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
-winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4
-
+m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 lispdir.m4 \
+maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
+winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4 missing.m4
EXTRA_DIST = $(m4data_DATA)
MAINT_CHARSET = latin1
m4datadir = $(datadir)/aclocal
-m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 \
-lispdir.m4 maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
-winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4
+m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 lispdir.m4 \
+maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
+winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4 missing.m4
EXTRA_DIST = $(m4data_DATA)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AM_SANITY_CHECK
AC_ARG_PROGRAM
-AC_CHECK_PROG(ACLOCAL, aclocal, aclocal, \$(SHELL) missing aclocal)
-AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, \$(SHELL) missing autoconf)
-AC_CHECK_PROG(AUTOMAKE, automake, automake, \$(SHELL) missing automake)
-AC_CHECK_PROG(AUTOHEADER, autoheader, autoheader, \$(SHELL) missing autoheader)
-AM_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, \$(SHELL) ../missing makeinfo)
+dnl FIXME This is truly gross.
+missing_dir=`cd $ac_aux_dir && pwd`
+AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
+AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
+AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
+AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
+AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_PROG_MAKE_SET])
--- /dev/null
+## --------------------------------------------------------- ##
+## Fake the existence of programs that GNU maintainers use. ##
+## --------------------------------------------------------- ##
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
+dnl The program must properly implement --version.
+AC_DEFUN(AM_MISSING_PROG,
+[if $2 --version > /dev/null 2>&1; then
+ $1=$2
+ else
+ $1="$3/missing $2"
+ fi])
+Tue Mar 18 22:36:34 1997 Tom Tromey <tromey@cygnus.com>
+
+ * remake2.test: Changed for `missing' support.
+
Sun Mar 16 14:29:45 1997 Tom Tromey <tromey@cygnus.com>
* seenc.test: New file.
: > install-sh
: > mkinstalldirs
+: > missing
# See how redirections should work. User can set VERBOSE to see all
# output.
$AUTOMAKE || exit 1
-grep 'automake.*sub/Makefile' sub/Makefile.in
+grep 'AUTOMAKE.*sub/Makefile' sub/Makefile.in