]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/defs, tests/demo-conf.test, tests/demo-nofast.test,
authorAlbert Chin-A-Young <china@thewrittenword.com>
Tue, 3 Jun 2003 15:44:14 +0000 (15:44 +0000)
committerRobert Boehne <rboehne@gnu.org>
Tue, 3 Jun 2003 15:44:14 +0000 (15:44 +0000)
tests/demo-nopic.test, tests/demo-pic.test,
tests/demo-shared.test, tests/demo-static.test,
tests/depdemo-conf.test, tests/depdemo-nofast.test,
tests/depdemo-shared.test, tests/depdemo-static.test:
Pass build system type to tests to support environment
where default system type not equal to build system type
(eg. 64-bit HP-UX).

12 files changed:
ChangeLog
tests/defs
tests/demo-conf.test
tests/demo-nofast.test
tests/demo-nopic.test
tests/demo-pic.test
tests/demo-shared.test
tests/demo-static.test
tests/depdemo-conf.test
tests/depdemo-nofast.test
tests/depdemo-shared.test
tests/depdemo-static.test

index 79a36955811fcdaf7c4d4e563006388dcaedfcb4..caa1451caa11a8e6d898f002abfa95902a550c13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2003-06-03  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * tests/defs, tests/demo-conf.test, tests/demo-nofast.test,
+       tests/demo-nopic.test, tests/demo-pic.test,
+       tests/demo-shared.test, tests/demo-static.test,
+       tests/depdemo-conf.test, tests/depdemo-nofast.test,
+       tests/depdemo-shared.test, tests/depdemo-static.test:
+       Pass build system type to tests to support environment
+       where default system type not equal to build system type
+       (eg. 64-bit HP-UX).
+
 2003-06-03  Peter O'Gorman  <peter@pogma.com>
 
        * libtool.m4 (darwin): Remove checks for Apple-specific gcc.
index 44df0dc6ec71400281bee27fe07012a486ee5424..8713e853f06f5373b4a166afeb49c7d42cdaa34e 100644 (file)
@@ -38,6 +38,9 @@ fi
 # Extract CC from the libtool configuration
 eval `$libtool --config | grep '^CC='`
 
+# Extract host from the libtool configuration
+eval `$libtool --config | grep '^host='`
+
 # Disable usage of config.site for autoconf, unless DJGPP is present.
 # The DJGPP port of autoconf requires config.site, to work correctly.
 if test -z "$DJGPP"; then
index 5f8daf404cd8b83c6c5bbcfef5b4db2fc36e2aaa..689644528afd4ecdd8f1d5ec85b66977df4da485 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix)"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host || exit 1
 
 if grep '^build_old_libs=yes' libtool > /dev/null &&
    grep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 0e1d8ae1e60c816d2551541438c1ec81e2f6d201..73ed59fd7a299659f59e65c1d24a5db65e3df615 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix)"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --enable-fast-install=no || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host --enable-fast-install=no || exit 1
 
 if grep '^hardcode_action=relink' libtool > /dev/null; then
   rm -f Makefile && exit 77
index 69e995388130cc85b58190c84eca8f0dc5226b67..f2a4fa6623779835e609b539a46bbab32ce2d592 100755 (executable)
@@ -25,6 +25,6 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --without-pic"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=no || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host --with-pic=no || exit 1
 
 exit 0
index f3ddb3b736fad8ed34be1e9185ae31ec6c52b400..69565bc61c3040b483ed931db8e5594497d21404 100755 (executable)
@@ -25,6 +25,6 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --with-pic"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=yes || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host --with-pic=yes || exit 1
 
 exit 0
index ce80a38d5292973350e95ddbc9ac1390057a01af..2f00da0e8ff77c176958e79dfdc87fa5ea52cf6e 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --disable-static"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-static || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host --disable-static || exit 1
 
 if grep '^build_old_libs=no' libtool > /dev/null &&
    grep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 9672c390dce732bdaa015a72c699935ee50cbc8b..58d9544ed749741ba20fcaf85ac01caa0b101305 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --disable-shared"
-${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-shared || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --build=$host --disable-shared || exit 1
 
 if grep '^build_old_libs=yes' libtool > /dev/null &&
    grep '^build_libtool_libs=no' libtool > /dev/null; then :
index 92754663728e48112f544e93e5e02719fa9e4b05..da24f98fbe4351e45093d3d0d8265fcb22cb12cd 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix)"
-${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --build=$host || exit 1
 
 if grep '^build_old_libs=yes' libtool > /dev/null &&
    grep '^build_libtool_libs=yes' libtool > /dev/null; then :
index a8f4861ded55328788937ca81e12af3c777e2ad1..2cbb25d2f779f5981baa09946f3519cbd69415ca 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix)"
-${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --enable-fast-install=no || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --build=$host --enable-fast-install=no || exit 1
 
 if grep '^hardcode_action=relink' libtool > /dev/null; then
   rm -f Makefile && exit 77
index d4e593eee50c43edd45f6f927aba64611b005a12..e411fee660e96e7a8d74553110504e3cfab3baef 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-static"
-${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-static || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --build=$host --disable-static || exit 1
 
 if grep '^build_old_libs=no' libtool > /dev/null &&
    grep '^build_libtool_libs=yes' libtool > /dev/null; then :
index e889822d38e936f6e0f6d5efbce811a7ea3e1a9b..c0bd763c235e950e8e431eb4905a70503ff2c394 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-shared"
-${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-shared || exit 1
+${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --build=$host --disable-shared || exit 1
 
 if grep '^build_old_libs=yes' libtool > /dev/null &&
    grep '^build_libtool_libs=no' libtool > /dev/null; then :