[PATCH util-modular] release.sh: run autogen.sh instead of manual autoreconf + configure

Sergey Udaltsov sergey.udaltsov at gmail.com
Wed Feb 1 01:43:08 UTC 2017


Thank you Peter! Worked just great!

On Wed, Feb 1, 2017 at 12:58 AM, Peter Hutterer <peter.hutterer at who-t.net>
wrote:

> xkeyboard-config needs extra env variables to be set during autoreconf and
> that is handled in the autogen.sh script. If we invoke autoreconf
> directly, we
> fail on this repo.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Sending this out so Sergey can use it now, I haven't tested this on all
> repos yet. But I think we have an autogen.sh everywhere anyway, so I don't
> expect that to fail.
>
>  release.sh | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/release.sh b/release.sh
> index e0209bc..c894063 100755
> --- a/release.sh
> +++ b/release.sh
> @@ -384,14 +384,8 @@ process_module() {
>         return 1
>      fi
>
> -    echo "Info: generating configure."
> -    autoreconf --force --install >/dev/null
> -    if [ $? -ne 0 ]; then
> -        echo "Error: failed to generate configure."
> -        return 1
> -    fi
> -
> -    ./configure >/dev/null
> +    echo "Info: running autogen.sh"
> +    ./autogen.sh >/dev/null
>      if [ $? -ne 0 ]; then
>          echo "Error: failed to configure module."
>          cd $top_src
> --
> 2.9.3
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170201/7c5a78a1/attachment-0001.html>


More information about the xorg-devel mailing list