[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: bootstrap: improved
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: bootstrap: improved shell compatibility, removed unneeded 'aclocal' execution, removed '-f' autoreconf argument, added wrapper script autogen.sh |
Date: |
Wed, 10 Apr 2019 13:43:56 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 8b8c3003 bootstrap: improved shell compatibility, removed unneeded
'aclocal' execution, removed '-f' autoreconf argument, added wrapper script
autogen.sh
8b8c3003 is described below
commit 8b8c300312dc33a6c9cef232fb8710cb95723772
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed Apr 10 14:31:16 2019 +0300
bootstrap: improved shell compatibility,
removed unneeded 'aclocal' execution,
removed '-f' autoreconf argument,
added wrapper script autogen.sh
---
autogen.sh | 7 +++++++
bootstrap | 13 +++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 00000000..93e30faf
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# This file was added for compatibility with some automated build systems.
+# It is recommended to use 'bootstrap' directly instead.
+
+ag_srcdir="${0%/*}" && ag_srcdir="${ag_srcdir}${ag_srcdir:+/}"
+"${ag_srcdir}bootstrap" ${1+"$@"}
diff --git a/bootstrap b/bootstrap
index 0ce931c8..dce3249e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,11 @@
#!/bin/sh
-if ! test -n "$BASH_SOURCE" || ! workdir="${BASH_SOURCE[0]%/*}" || ! test -n
"$workdir" || ! cd "$workdir"; then
- workdir=`dirname "$0"` && test -n "$workdir" && cd "$workdir" || echo
"Warning: can't get working directory" 1>&2
+unset bs_srcdir
+if test X"`dirname / 2>/dev/null`" = X"/"; then
+ bs_scrdir=`dirname $0`
+else
+ bs_scrdir="${0%/*}"
fi
-aclocal -I m4 --install
-autoreconf -I m4 -f -i
+
+test -n "$bs_scrdir" && cd "$bs_scrdir" || echo "Warning: cannot get sources
directory" 1>&2
+
+autoreconf -I m4 -i ${1+"$@"}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: bootstrap: improved shell compatibility, removed unneeded 'aclocal' execution, removed '-f' autoreconf argument, added wrapper script autogen.sh,
gnunet <=