mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
Switch to autoconf-2.57 and automake-1.7.2.
This commit is contained in:
parent
ae5567f224
commit
d47979fe82
@ -1,3 +1,11 @@
|
||||
2002-12-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.57 and automake-1.7.2.
|
||||
* configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
|
||||
and not run any more when config.status is called to create a single
|
||||
file.
|
||||
* elisp-comp: New file, from automake-1.7.2.
|
||||
|
||||
2002-11-19 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.56.
|
||||
|
||||
69
configure.in
69
configure.in
@ -260,32 +260,43 @@ AC_SUBST(LTALLOCA)
|
||||
|
||||
AC_CONFIG_SUBDIRS(libasprintf)
|
||||
|
||||
AC_OUTPUT([Makefile \
|
||||
intl/Makefile intl-java/Makefile \
|
||||
lib/Makefile lib/javacomp.sh lib/javaexec.sh \
|
||||
libuniname/Makefile \
|
||||
src/Makefile src/user-email \
|
||||
po/Makefile.in \
|
||||
doc/Makefile man/Makefile man/x-to-1 \
|
||||
tests/Makefile \
|
||||
m4/Makefile \
|
||||
projects/Makefile \
|
||||
misc/Makefile misc/gettextize misc/autopoint], [
|
||||
dnl Fix unesthetic build commands generated by automake.
|
||||
for m in lib/Makefile src/Makefile tests/Makefile; do
|
||||
sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
dnl Fix an automake-1.5 bug.
|
||||
for m in Makefile doc/Makefile; do
|
||||
sed -e 's,^#distdir:,distdir:,' < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
dnl Fix an automake-1.5 bug: all info files are erased by "make".
|
||||
for m in doc/Makefile; do
|
||||
sed -e '/cd \$(srcdir) && rm -f /d' < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
dnl Fix permissions of misc/gettextize and misc/autopoint.
|
||||
chmod a+x misc/gettextize misc/autopoint
|
||||
])
|
||||
AC_CONFIG_FILES([Makefile],
|
||||
[FIX_MAKEFILE_DISTRIB([Makefile])])
|
||||
|
||||
AC_CONFIG_FILES([intl/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([intl-java/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([lib/Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([lib/Makefile])])
|
||||
AC_CONFIG_FILES([lib/javacomp.sh lib/javaexec.sh])
|
||||
|
||||
AC_CONFIG_FILES([libuniname/Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([libuniname/Makefile])])
|
||||
|
||||
AC_CONFIG_FILES([src/Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([src/Makefile])])
|
||||
AC_CONFIG_FILES([src/user-email])
|
||||
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
|
||||
AC_CONFIG_FILES([doc/Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([doc/Makefile])
|
||||
FIX_MAKEFILE_DISTRIB([doc/Makefile])
|
||||
FIX_MAKEFILE_INFO([doc/Makefile])])
|
||||
|
||||
AC_CONFIG_FILES([man/Makefile])
|
||||
AC_CONFIG_FILES([man/x-to-1])
|
||||
|
||||
AC_CONFIG_FILES([tests/Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([tests/Makefile])])
|
||||
|
||||
AC_CONFIG_FILES([m4/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([projects/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([misc/Makefile])
|
||||
AC_CONFIG_FILES([misc/gettextize], [chmod a+x misc/gettextize])
|
||||
AC_CONFIG_FILES([misc/autopoint], [chmod a+x misc/autopoint])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 1995, 1997 Free Software Foundation, Inc.
|
||||
# Copyright 1995 Free Software Foundation, Inc.
|
||||
# François Pinard <pinard@iro.umontreal.ca>, 1995.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -16,6 +16,11 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This script byte-compiles all `.el' files which are part of its
|
||||
# arguments, using GNU Emacs, and put the resulting `.elc' files into
|
||||
# the current directory, so disregarding the original directories used
|
||||
@ -26,17 +31,24 @@
|
||||
# they require or load-library one another.
|
||||
|
||||
if test $# = 0; then
|
||||
echo 1>&2 "No files given to $0"
|
||||
echo 1>&2 "No files given to $0"
|
||||
exit 1
|
||||
else
|
||||
tempdir=elc.$$
|
||||
mkdir $tempdir
|
||||
cp $* $tempdir
|
||||
cd $tempdir
|
||||
if test -z "$EMACS" || test "$EMACS" = "t"; then
|
||||
# Value of "t" means we are running in a shell under Emacs.
|
||||
# Just assume Emacs is called "emacs".
|
||||
EMACS=emacs
|
||||
fi
|
||||
|
||||
echo "(setq load-path (cons nil load-path))" > script
|
||||
${EMACS-emacs} -batch -l script -f batch-byte-compile *.el
|
||||
mv *.elc ..
|
||||
tempdir=elc.$$
|
||||
mkdir $tempdir
|
||||
cp $* $tempdir
|
||||
cd $tempdir
|
||||
|
||||
cd ..
|
||||
rm -fr $tempdir
|
||||
echo "(setq load-path (cons nil load-path))" > script
|
||||
$EMACS -batch -q -l script -f batch-byte-compile *.el
|
||||
mv *.elc ..
|
||||
|
||||
cd ..
|
||||
rm -fr $tempdir
|
||||
fi
|
||||
@ -1,3 +1,10 @@
|
||||
2002-12-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.57 and automake-1.7.2.
|
||||
* configure.in: Use AC_CONFIG_FILES, because the AC_OUTPUT commands
|
||||
and not run any more when config.status is called to create a single
|
||||
file.
|
||||
|
||||
2002-11-13 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Assume ANSI C.
|
||||
|
||||
@ -45,20 +45,9 @@ AC_PATH_PROG(DVIPS, dvips, $ac_aux_dir_abs/missing dvips)
|
||||
AC_PATH_PROG(TEXI2PDF, texi2pdf, $ac_aux_dir_abs/missing texi2pdf)
|
||||
AC_PATH_PROG(PERL, perl, $ac_aux_dir_abs/missing perl)
|
||||
|
||||
AC_OUTPUT([Makefile], [
|
||||
dnl Fix unesthetic build commands generated by automake.
|
||||
for m in Makefile; do
|
||||
sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
dnl Fix an automake-1.5 bug.
|
||||
for m in Makefile; do
|
||||
sed -e 's,^#distdir:,distdir:,' < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
dnl Fix an automake-1.5 bug: all info files are erased by "make".
|
||||
for m in Makefile; do
|
||||
sed -e '/cd \$(srcdir) && rm -f /d' < $m > $m.tmp
|
||||
mv $m.tmp $m
|
||||
done
|
||||
])
|
||||
AC_CONFIG_FILES([Makefile],
|
||||
[FIX_MAKEFILE_COMPILE([Makefile])
|
||||
FIX_MAKEFILE_DISTRIB([Makefile])
|
||||
FIX_MAKEFILE_INFO([Makefile])])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
@ -1,3 +1,8 @@
|
||||
2002-12-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.57 and automake-1.7.2.
|
||||
* fixautomake.m4: New file, extracted from configure.in.
|
||||
|
||||
2002-11-19 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.56.
|
||||
|
||||
27
m4/fixautomake.m4
Normal file
27
m4/fixautomake.m4
Normal file
@ -0,0 +1,27 @@
|
||||
# fixautomake.m4 serial 1 (gettext-0.11.6)
|
||||
dnl Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
dnl This file is free software, distributed under the terms of the GNU
|
||||
dnl General Public License. As a special exception to the GNU General
|
||||
dnl Public License, this file may be distributed as part of a program
|
||||
dnl that contains a configuration script generated by Autoconf, under
|
||||
dnl the same distribution terms as the rest of that program.
|
||||
|
||||
dnl From Bruno Haible
|
||||
|
||||
dnl Fix unesthetic build commands generated by automake.
|
||||
AC_DEFUN([FIX_MAKEFILE_COMPILE], [
|
||||
sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," -e "s,\`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $1 > $1.tmp
|
||||
mv $1.tmp $1
|
||||
])
|
||||
|
||||
dnl Fix an automake-1.5-1.7.2 bug: the distrib rule is omitted.
|
||||
AC_DEFUN([FIX_MAKEFILE_DISTRIB], [
|
||||
sed -e 's,^#distdir:,distdir:,' < $1 > $1.tmp
|
||||
mv $1.tmp $1
|
||||
])
|
||||
|
||||
dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make".
|
||||
AC_DEFUN([FIX_MAKEFILE_INFO], [
|
||||
sed -e '/@rm -f \$''@/d' < $1 > $1.tmp
|
||||
mv $1.tmp $1
|
||||
])
|
||||
@ -1,3 +1,8 @@
|
||||
2002-12-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Switch to autoconf-2.57 and automake-1.7.2.
|
||||
* elisp-comp: Remove, moved to top directory.
|
||||
|
||||
2002-11-13 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Assume ANSI C.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user