* [PATCH] parameterize programs used by autogen.sh
@ 2014-10-06 6:00 Daniel Llorens
2014-10-06 13:25 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Llorens @ 2014-10-06 6:00 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
I needed this in OS X w/ MacPorts where GNU libtoolize is called glibtoolize. This or a version of this is probably useful in other situations.
Thanks,
Daniel
[-- Attachment #2: o.patch --]
[-- Type: application/octet-stream, Size: 815 bytes --]
diff --git a/autogen.sh b/autogen.sh
index af1ade60..2ab1022 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,14 +8,19 @@ set -e
exit 1
}
+AUTOCONF=${AUTOCONF:-autoconf}
+AUTOMAKE=${AUTOMAKE:-automake}
+LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+AUTORECONF=${AUTORECONF:-autoreconf}
+
######################################################################
### announce build tool versions
echo ""
-autoconf --version
+$AUTOCONF --version
echo ""
-automake --version
+$AUTOMAKE --version
echo ""
-libtoolize --version
+$LIBTOOLIZE --version
echo ""
${M4:-m4} --version
echo ""
@@ -25,6 +30,6 @@ echo ""
######################################################################
### update infrastructure
-autoreconf -i --force --verbose
+$AUTORECONF -i --force --verbose
echo "Now run configure and make."
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] parameterize programs used by autogen.sh
2014-10-06 6:00 [PATCH] parameterize programs used by autogen.sh Daniel Llorens
@ 2014-10-06 13:25 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2014-10-06 13:25 UTC (permalink / raw)
To: guile-devel
I ended up reinstating the strategy that chooses ‘glibtoolize’ based on
‘uname -s’. Let me know what you think.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] parameterize programs used by autogen.sh
[not found] <mailman.167.1412611271.5899.guile-devel@gnu.org>
@ 2014-10-06 17:11 ` Daniel Llorens
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Llorens @ 2014-10-06 17:11 UTC (permalink / raw)
To: guile-devel
> Date: Mon, 06 Oct 2014 15:25:10 +0200
> From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
> To: guile-devel@gnu.org
> Subject: Re: [PATCH] parameterize programs used by autogen.sh
> I ended up reinstating the strategy that chooses ?glibtoolize? based on
> ?uname -s?. Let me know what you think.
Works for me.
Thanks,
Daniel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-06 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06 6:00 [PATCH] parameterize programs used by autogen.sh Daniel Llorens
2014-10-06 13:25 ` Ludovic Courtès
[not found] <mailman.167.1412611271.5899.guile-devel@gnu.org>
2014-10-06 17:11 ` Daniel Llorens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).