aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-07-31 12:26:36 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-07-31 12:26:36 +0300
commit1149a47955582b5f7855d836e670485ef8e255d0 (patch)
treecfa7cce71b900ca34a44338ed603064110bb0d35 /bootstrap
parent3a7548745ed61ed4d20a5837ef53cfea46e52bb0 (diff)
downloadcpio-1149a47955582b5f7855d836e670485ef8e255d0.tar.gz
cpio-1149a47955582b5f7855d836e670485ef8e255d0.tar.bz2
Fix mt and make sure it is always build during distcheck.
Minor fixes in cpio. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): New variable. Ensure that distcheck builds mt. * bootstrap: Patch Makefile.in to honor AM_DISTCHECK_CONFIGURE_FLAGS. * gnulib.modules: add argp-version-etc and progname. * src/Makefile.am: Remove useless dependency. * src/copyin.c (long_format): Fix printf arguments. * src/copyout.c (read_for_checksum): Return unsigned long. (process_copy_out): Remove unused variable. * src/extern.h (crc): Change type to unsigned long. (program_name): Remove. * src/global.c: Likewise. * src/main.c: Include argp-version-etc.h and progname.h (argp_program_version): Remove. (program_authors): New global. (options): Remove the 'Informative options' group. These are handled automatically by argp. (parse_opt): Likewise. (licence): Remove. This info is output by --version. (process_args): Remove useless test. (main): Use set_program_name and argp_version_setup. * src/mt.c: Remove superfluous includes. Include argp-version-etc.h and progname.h Use argp to parse arguments. Supply the fatal_exit function. * tests/version.at: Update for the new --version output. * THANKS: Add Peter Breitenlohner. * AUTHORS: Update Sergey's email.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 634dacc..7ad16d3 100755
--- a/bootstrap
+++ b/bootstrap
@@ -742,4 +742,8 @@ if test $with_gettext = yes; then
fi
fi
+echo "$0: patching Makefile.in"
+mv Makefile.in Makefile.in~
+sed 's/\$(DISTCHECK_CONFIGURE_FLAGS)/$(AM_DISTCHECK_CONFIGURE_FLAGS) $(DISTCHECK_CONFIGURE_FLAGS)/' Makefile.in~ > Makefile.in
+
echo "$0: done. Now you can run './configure'."

Return to:

Send suggestions and report system problems to the System administrator.