gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 03/03: bootstrap: simplified autotools invocation


From: gnunet
Subject: [libmicrohttpd] 03/03: bootstrap: simplified autotools invocation
Date: Thu, 28 Dec 2023 07:30:47 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit c39c55a2200f339e7f9e712bafbbfb260500aa2f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Dec 28 09:26:47 2023 +0300

    bootstrap: simplified autotools invocation
    
    Old workarounds are not needed any more as autopoint is executed now
    automatically by 'make dist'
---
 bootstrap | 31 ++++++++-----------------------
 1 file changed, 8 insertions(+), 23 deletions(-)

diff --git a/bootstrap b/bootstrap
index f2ff8a0a..990c6447 100755
--- a/bootstrap
+++ b/bootstrap
@@ -55,26 +55,11 @@ else
     echo "Uncrustify not detected, hook not installed. Please install 
uncrustify if you plan on doing development."
 fi
 
-if have_command libtool || have_command libtoolize || have_command glibtoolize 
|| have_command slibtool; then
-    echo "Running autotools..."
-    have_command libtoolize && \
-      aclocal -I m4 --install && \
-      libtoolize -c -i -v && \
-      autoconf && \
-      autoheader && \
-      automake -a -c --gnu
-    if test $? -ne 0 || ! test -x configure || ! test -f Makefile.in ; then
-        echo "Trying with autoreconf..."
-        if ! autoreconf -i ${1+"$@"} ; then
-            echo "Failed to autoreconf, retrying with force install..."
-            if ! autoreconf -i -f ${1+"$@"} ; then
-                echo "*** Failed to create 'configure' and other autotools 
generated files. ***" >&2
-                exit 1
-            fi
-        fi
-    fi
-    echo "The ${bs_scrdir-.}/configure is ready to run."
-else
-    echo "*** No libtoolize or libtool found, please install it ***" >&2;
-    exit 1
-fi
+aclocal -I m4 --install && \
+  libtoolize -c -i -v && \
+  autoconf && \
+  autoheader && \
+  automake -a -c --gnu || \
+  echo "Trying with autoreconf..." &&
+  autoreconf -vi ${1+"$@"} || \
+  echo "*** Failed to build autoconf output files ***" >&2

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]