+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.
# 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
# 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 :
# 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
# 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
# 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
# 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 :
# 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 :
# 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 :
# 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
# 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 :
# 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 :