gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-util] branch master updated: [boot] Modify the configure sc


From: gnunet
Subject: [taler-taler-util] branch master updated: [boot] Modify the configure script to DTRT
Date: Thu, 10 Feb 2022 13:15:57 +0100

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

ttn pushed a commit to branch master
in repository taler-util.

The following commit(s) were added to refs/heads/master by this push:
     new 7dcaeb5  [boot] Modify the configure script to DTRT
7dcaeb5 is described below

commit 7dcaeb5f161e455e2a3d04aaa2150fd87e1ba38c
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Feb 10 07:14:45 2022 -0500

    [boot] Modify the configure script to DTRT
    
    Specifically:
    - Look in build-system/ for configure.py, instead of cwd.
    - After configure.py creates config.mk, move it to build-system/.
    
    This fixes a "Failure To Configure From Source" error :-D.
---
 bootstrap | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/bootstrap b/bootstrap
index 9905660..31987eb 100755
--- a/bootstrap
+++ b/bootstrap
@@ -36,3 +36,18 @@ git submodule update --recursive
 git submodule sync
 cp build-system/taler-build-scripts/configure ./configure || true
 cp build-system/taler-build-scripts/conf/.style.yapf .style.yapf || true
+
+# The configure script looks for configure.py in the cwd
+# (but it's not there, being instead in subdir build-system/).
+# We can either modify the configure script to look in
+# the correct directory, or copy configure.py to cwd.
+# We choose to modify, but maybe that's not the best choice.
+sed -i '/^exec/s|./|build-system/|' configure
+
+# Another wrinkle is that Makefile looks in build-system/
+# for config.mk, but the configure script places it in cwd.
+# Again, we have a choice: Either modify Makefile or modify
+# the configure script to move config.mk to the right place.
+# Since we already munged the configure script once, why not again?
+sed -i '/^exec /s///' configure
+echo 'mv config.mk build-system' >> configure

-- 
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]