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

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 1 00:58:33 UTC 2017


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



More information about the xorg-devel mailing list