diff options
author | Jim Meyering <meyering@redhat.com> | 2007-11-10 18:33:07 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-14 20:35:34 +0100 |
commit | c369e79c60843d0c14d6a507016d347e40dcb7c0 (patch) | |
tree | a283b92dfd3df97a1dba697870ab54370fe3f865 /bootstrap | |
parent | 080ac7785071c7f135711a39e57c71d9057d9bd7 (diff) | |
download | coreutils-c369e79c60843d0c14d6a507016d347e40dcb7c0.tar.xz |
Enable gnulib-tool's --with-tests option.
* bootstrap: After all is done, transform the generated gnulib-tests/gnulib.mk.
* bootstrap.conf (gnulib_tool_option_extras): Set it here.
* gnulib-tests/Makefile.am: New file.
* Makefile.am (SUBDIRS): Add gnulib-tests.
* configure.ac (AC_CONFIG_FILES): Add gnulib-tests/Makefile.
* m4/jm-macros.m4 (coreutils_MACROS) [ARGMATCH_DIE_DECL]: Omit the
"extern " prefix to "void usage ()", so that the macro string value can
be used to construct a function definition in gnulib's test-argmatch.c.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -598,4 +598,10 @@ if test $with_gettext = yes; then fi fi +# Horrible, coreutils-specific kludge. +# Change paths in gnulib-tests/gnulib.mk from "../.." to "..". +m=gnulib-tests/gnulib.mk +sed 's,\.\./\.\.,..,g' $m > $m-t +mv -f $m-t $m + echo "$0: done. Now you can run './configure'." |