changeset 16963:2bc936540c0f

bootstrap: do not require now-removed build-aux/missing Now that build-aux/missing is, er, missing, bootstrap would silently fail. * build-aux/bootstrap (gnulib_extra_files): Remove $build_aux/missing from the list, now that (since commit v0.0-7489-gd0f486f) the file is no longer part of gnulib. Diagnose the failure.
author Jim Meyering <meyering@redhat.com>
date Tue, 03 Jul 2012 22:22:49 +0200
parents 5cf5743467da
children b9ca6af780f5
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 15 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 03 10:08:41 2012 -0700
+++ b/ChangeLog	Tue Jul 03 22:22:49 2012 +0200
@@ -1,3 +1,13 @@
+2012-07-03  Jim Meyering  <meyering@redhat.com>
+
+	bootstrap: do not require now-removed build-aux/missing
+	Now that build-aux/missing is, er, missing, bootstrap would
+	silently fail.
+	* build-aux/bootstrap (gnulib_extra_files): Remove $build_aux/missing
+	from the list, now that (since commit v0.0-7489-gd0f486f) the file is
+	no longer part of gnulib.
+	Diagnose the failure.
+
 2012-07-03  Paul Eggert  <eggert@cs.ucla.edu>
 
 	alloca: add support for HP NonStop TNS/E native
--- a/build-aux/bootstrap	Tue Jul 03 10:08:41 2012 -0700
+++ b/build-aux/bootstrap	Tue Jul 03 22:22:49 2012 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2012-05-15.06; # UTC
+scriptversion=2012-07-03.20; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -230,7 +230,6 @@
 test -z "${gnulib_extra_files}" && \
   gnulib_extra_files="
         $build_aux/install-sh
-        $build_aux/missing
         $build_aux/mdate-sh
         $build_aux/texinfo.tex
         $build_aux/depcomp
@@ -855,7 +854,8 @@
 $gnulib_tool $gnulib_tool_options --import $gnulib_modules &&
 
 for file in $gnulib_files; do
-  symlink_to_dir "$GNULIB_SRCDIR" $file || exit
+  symlink_to_dir "$GNULIB_SRCDIR" $file \
+    || { echo "$0: failed to symlink $file" 1>&2; exit 1; }
 done
 
 bootstrap_post_import_hook \
@@ -896,7 +896,8 @@
   build-aux/*) dst=$build_aux/${file#build-aux/};;
   *) dst=$file;;
   esac
-  symlink_to_dir "$GNULIB_SRCDIR" $file $dst || exit
+  symlink_to_dir "$GNULIB_SRCDIR" $file $dst \
+    || { echo "$0: failed to symlink $file" 1>&2; exit 1; }
 done
 
 if test $with_gettext = yes; then