Fix warnings when compiling on MS-Windows with -std=gnu99.
[emacs.git] / autogen / copy_autogen
blob8aacd4d399ae0fe1e0c294f41eacb5e9ca7bc641
1 #!/bin/sh
3 ## Helper script for those building Emacs from bzr without autoconf etc.
4 ## This installs some pre-generated versions of the automatically
5 ## generated files. It is highly recommended to install the necessary
6 ## tools instead of using this. Note that if eg configure.ac
7 ## is updated, the next time you run make it will attempt to
8 ## regenerate configure and will fail if you do not have the required
9 ## tools. You will have to run this script again.
11 test ! -d autogen || cd autogen || exit
13 if test ! -e config.in; then
14 echo "Cannot find autogen/ directory."
15 exit 1
18 ## Order implied by top-level Makefile's rules, for time-stamps.
19 cp -f compile config.guess config.sub depcomp install-sh missing \
20 ../build-aux &&
21 cp aclocal.m4 ../ &&
22 cp configure ../ &&
23 touch ../src/stamp-h.in &&
24 cp config.in ../src/ &&
25 cp Makefile.in ../lib/ &&
27 echo "You can now run configure"