X-Git-Url: https://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/6433794da64fdd089cabb7b82f7f4d8608d98c32..bb305b31ce8cd0c2ce214fd56732905c08fe080a:/bootstrap diff --git a/bootstrap b/bootstrap index f16d302..7bb1f8d 100755 --- a/bootstrap +++ b/bootstrap @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright © 2011-2012, 2015, 2021-2022 Nick Bowler +# Copyright © 2011-2012, 2015, 2021-2023 Nick Bowler # # Simple script to get started from a fresh git checkout. # @@ -10,8 +10,8 @@ scriptname=$0 -err() { printf '%s: %s\n' "$scriptname" "$*" 1>&2; } -die() { err "$@"; exit 1; } +err () { printf '%s: %s\n' "$scriptname" "$*" 1>&2; } +die () { err "$@"; exit 1; } : ${AUTORECONF=autoreconf} : ${AUTOMAKE=automake} @@ -23,6 +23,7 @@ $GIT submodule update --init || err "Failed to update submodules from git." if test -x $GNULIB/gnulib-tool; then $GNULIB/gnulib-tool --update -S || die "Failed to update Gnulib." + $GNULIB/gnulib-tool --copy-file -S build-aux/config.rpath config.rpath else err "Gnulib sources are not properly installed in $GNULIB/" cat >&2 <<'EOF'