changeset 8991:0eff5376f6c2

Remove stray dot; Make sure build_aux settings are honored when linking gnulib_extra_files
author Sergey Poznyakoff <gray@gnu.org.ua>
date Wed, 20 Jun 2007 11:56:14 +0000
parents 719c76c825fd
children c919adf83cb9
files build-aux/bootstrap
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/build-aux/bootstrap	Tue Jun 19 13:00:19 2007 +0000
+++ b/build-aux/bootstrap	Wed Jun 20 11:56:14 2007 +0000
@@ -103,6 +103,7 @@
 	$build_aux/config.sub
 	doc/INSTALL
 "
+
 # Additional gnulib-tool options to use.  Use "\newline" to break lines.
 gnulib_tool_option_extras=
 
@@ -178,7 +179,8 @@
     >/dev/null && found_aux_dir=yes
 if test $found_aux_dir = no; then
   echo "$0: expected line not found in configure.ac. Add the following:" >&2
-  echo "  AC_CONFIG_AUX_DIR([$build_aux])" >&2.
+  echo "  AC_CONFIG_AUX_DIR([$build_aux])" >&2
+  exit 1
 fi
 
 # If $build_aux doesn't exist, create it now, otherwise some bits
@@ -508,10 +510,10 @@
 
 
 # Get some extra files from gnulib, overriding existing files.
-
 for file in $gnulib_extra_files; do
   case $file in
   */INSTALL) dst=INSTALL;;
+  build-aux/*) dst=$build_aux/`expr "$file" : 'build-aux/\(.*\)'`;;
   *) dst=$file;;
   esac
   symlink_to_gnulib $file $dst || exit