[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bootstrap: accommodate older libtool
From: |
Jim Meyering |
Subject: |
Re: [PATCH] bootstrap: accommodate older libtool |
Date: |
Fri, 20 Apr 2012 08:35:07 +0200 |
Eric Blake wrote:
> RHEL 5 still ships with libtool 1.5.22, where libtoolize lacks the
> --install option but has that behavior by default. And gnulib's
> DEPENDENCIES file states that we still support that old of libtool
> as our minimum version.
>
> * build-aux/bootstrap (use_libtool): Cater to libtool 1.5.22.
> Reported by Daniel P. Berrange.
...
> +# libtoolize 1.9b added the --install option; but we support back
> +# to libtoolize 1.5.22, where the install action was default.
> if test $use_libtool = 1; then
> - echo "running: $LIBTOOLIZE --copy --install"
> - $LIBTOOLIZE --copy --install
> + install=
> + case $($LIBTOOLIZE --help) in
> + *--install*) install=--install ;;
> + esac
> + echo "running: $LIBTOOLIZE $install --copy"
> + $LIBTOOLIZE $install --copy
Thanks. That looks fine.