configure.in: avoid the following diagnostic when running ../configure ...

cp: cannot stat `COPYING.LIB': No such file or directory
This commit is contained in:
Jim Meyering 2008-11-25 15:36:09 +00:00
parent d5ae2c8882
commit c6796fc5d4
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,7 @@
Tue Nov 25 16:34:09 +0100 2008 Jim Meyering <meyering@redhat.com>
Tue Nov 25 16:34:10 +0100 2008 Jim Meyering <meyering@redhat.com>
* configure.in: avoid the following diagnostic when running ../configure
cp: cannot stat `COPYING.LIB': No such file or directory
don't silently skip a test
* tests/Makefile.am (EXTRA_DIST): Distribute domainschemadata/.

View File

@ -1222,10 +1222,12 @@ then
fi
AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"])
# very annoying
rm -f COPYING
cp COPYING.LIB COPYING
# Only COPYING.LIB is under version control, yet COPYING
# is included as part of the distribution tarball.
# Copy one to the other, but only if this is a srcdir-build.
# You are unlikely to be doing distribution-related things in a non-srcdir build
test "x$srcdir" = x. && ! test -f COPYING &&
cp -f COPYING.LIB COPYING
AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \
docs/examples/Makefile docs/devhelp/Makefile \