[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

host_alias use in configure.in

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-07-09 09:26:14 CEST

Hi all.

In configure.in there is a rather strange use of $host_alias
that seems to be a cut and paste from apr's configure.in
The $host variable should be used instead of $host_alias
since the $host value is the expanded form of what was
passed through config.sub.

For example:

% ./config.sub mingw32
i386-pc-mingw32

% ./configure --host=mingw32
loading cache ./config.cache
checking host system type... i386-pc-mingw32
host is "i386-pc-mingw32"
host_alias is "mingw32"

Notice that the $host value is the correct
one to use in most cases. This patch should
fix things.

cheers
Mo

Index: configure.in
===================================================================
RCS file: /usr/local/tigris/data/helm/cvs/repository/subversion/configure.in,v
retrieving revision 1.99
diff -u -r1.99 configure.in
--- configure.in 2001/07/06 18:04:15 1.99
+++ configure.in 2001/07/09 07:21:50
@@ -272,7 +285,7 @@
 dnl
 dnl BSD/OS (BSDi) needs to use a different include syntax in the Makefiles
 dnl
-case "$host_alias" in
+case "$host" in
 *bsdi*)
     # Check whether they've installed GNU make
     if make --version > /dev/null 2>&1; then

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:33 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.