mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
dee26dfa11
to create 'configure'; problem reported by Andreas Schwab in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>. * autogen.sh: Exit with status 1 when failing due to missing tools, reverting the 2012-09-10 change to this file. * autogen/copy_autogen: Fail if one of the subsidiary actions fail. Use 'cp -f' for the build-aux files, since the destinations are typically read-only.
28 lines
896 B
Bash
Executable File
28 lines
896 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## Helper script for those building Emacs from bzr without autoconf etc.
|
|
## This installs some pre-generated versions of the automatically
|
|
## generated files. It is highly recommended to install the necessary
|
|
## tools instead of using this. Note that if eg configure.ac
|
|
## is updated, the next time you run make it will attempt to
|
|
## regenerate configure and will fail if you do not have the required
|
|
## tools. You will have to run this script again.
|
|
|
|
test ! -d autogen || cd autogen || exit
|
|
|
|
if test ! -e config.in; then
|
|
echo "Cannot find autogen/ directory."
|
|
exit 1
|
|
fi
|
|
|
|
## Order implied by top-level Makefile's rules, for time-stamps.
|
|
cp -f compile config.guess config.sub depcomp install-sh missing \
|
|
../build-aux &&
|
|
cp aclocal.m4 ../ &&
|
|
cp configure ../ &&
|
|
touch ../src/stamp-h.in &&
|
|
cp config.in ../src/ &&
|
|
cp Makefile.in ../lib/ &&
|
|
|
|
echo "You can now run configure"
|