diff options
author | Richard Dawe <rich@phekda.freeserve.co.uk> | 2003-03-29 05:06:46 +0000 |
---|---|---|
committer | Robert Boehne <rboehne@gnu.org> | 2003-03-29 05:06:46 +0000 |
commit | b9f8f1036e98766c068a51cb84d16f67247fa9c8 (patch) | |
tree | bf992104aebe154c49369240760cbf0ac0e0c3d1 /tests | |
parent | eeb3d9cc7c07965a5d3817321e67491c6eb097f4 (diff) | |
download | libtool-b9f8f1036e98766c068a51cb84d16f67247fa9c8.tar.gz |
* Makefile.am: Define CONF_SUBDIRS.
* tests/defs: Set CONFIG_SITE to /nonexistent, except on DJGPP,
which requires its config.site, to work correctly.
* tests/cdemo-conf.test, tests/cdemo-shared.test,
tests/cdemo-static.test, 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, tests/f77demo-conf.test,
tests/f77demo-shared.test, tests/f77demo-static.test,
tests/mdemo-conf.test, tests/mdemo-shared.test,
tests/mdemo-static.test, tests/pdemo-conf.test,
tests/tagdemo-conf.test, tests/tagdemo-shared.test,
tests/tagdemo-static.test: Don't set CONFIG_SITE, now that
tests/defs sets it.
* tests/cdemo-exec.test, tests/demo-exec.test,
tests/demo-inst.test, tests/depdemo-exec.test,
tests/depdemo-inst.test, tests/f77demo-exec.test,
tests/mdemo-exec.test, tests/mdemo-inst.test,
tests/pdemo-exec.test, tests/pdemo-inst.test,
tests/tagdemo-exec.test: When checking for the existence
of executables, use the executable file extension from $EXEEXT.
Diffstat (limited to 'tests')
35 files changed, 40 insertions, 34 deletions
diff --git a/tests/cdemo-conf.test b/tests/cdemo-conf.test index 27b49fb3..be65b769 100755 --- a/tests/cdemo-conf.test +++ b/tests/cdemo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../cdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/cdemo-exec.test b/tests/cdemo-exec.test index b7e5afaf..f558fdc2 100755 --- a/tests/cdemo-exec.test +++ b/tests/cdemo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../cdemo/cdemo; then : +if test -f ../cdemo/cdemo$EXEEXT; then : else echo "You must run cdemo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/cdemo-shared.test b/tests/cdemo-shared.test index b3d4a470..3b38df30 100755 --- a/tests/cdemo-shared.test +++ b/tests/cdemo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../cdemo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-static || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-static || exit 1 if grep '^build_old_libs=no' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/cdemo-static.test b/tests/cdemo-static.test index 225796bb..e81b4065 100755 --- a/tests/cdemo-static.test +++ b/tests/cdemo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../cdemo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-shared || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-shared || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=no' libtool > /dev/null; then : @@ -38,6 +38,12 @@ fi # Extract CC from the libtool configuration eval `$libtool --config | grep '^CC='` +# 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 + CONFIG_SITE=/nonexistent +fi + # See how redirections should work. case "$VERBOSE" in NO | no | 0 | "") diff --git a/tests/demo-conf.test b/tests/demo-conf.test index 689732c2..5f8daf40 100755 --- a/tests/demo-conf.test +++ b/tests/demo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${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 || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/demo-exec.test b/tests/demo-exec.test index cd0ff2f4..9402f443 100755 --- a/tests/demo-exec.test +++ b/tests/demo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../demo/hell; then : +if test -f ../demo/hell$EXEEXT; then : else echo "You must run demo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/demo-inst.test b/tests/demo-inst.test index 678fa6e3..9e38d9d0 100755 --- a/tests/demo-inst.test +++ b/tests/demo-inst.test @@ -11,7 +11,7 @@ fi . $srcdir/defs || exit 1 # Check that things are built. -if test -f ../demo/hell; then : +if test -f ../demo/hell$EXEEXT; then : else echo "You must run demo-make.test before $0" 1>&2 exit 77 diff --git a/tests/demo-nofast.test b/tests/demo-nofast.test index 79ec2b16..0e1d8ae1 100755 --- a/tests/demo-nofast.test +++ b/tests/demo-nofast.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${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 --enable-fast-install=no || exit 1 if grep '^hardcode_action=relink' libtool > /dev/null; then rm -f Makefile && exit 77 diff --git a/tests/demo-nopic.test b/tests/demo-nopic.test index 5773736b..69e99538 100755 --- a/tests/demo-nopic.test +++ b/tests/demo-nopic.test @@ -25,6 +25,6 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix) with --without-pic" -CONFIG_SITE=/nonexistent ${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 --with-pic=no || exit 1 exit 0 diff --git a/tests/demo-pic.test b/tests/demo-pic.test index 794295cc..f3ddb3b7 100755 --- a/tests/demo-pic.test +++ b/tests/demo-pic.test @@ -25,6 +25,6 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix) with --with-pic" -CONFIG_SITE=/nonexistent ${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 --with-pic=yes || exit 1 exit 0 diff --git a/tests/demo-shared.test b/tests/demo-shared.test index c2425838..ce80a38d 100755 --- a/tests/demo-shared.test +++ b/tests/demo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${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 --disable-static || exit 1 if grep '^build_old_libs=no' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/demo-static.test b/tests/demo-static.test index 442cce77..9672c390 100755 --- a/tests/demo-static.test +++ b/tests/demo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../demo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${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 --disable-shared || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=no' libtool > /dev/null; then : diff --git a/tests/depdemo-conf.test b/tests/depdemo-conf.test index 97e3e50d..92754663 100755 --- a/tests/depdemo-conf.test +++ b/tests/depdemo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../depdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${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 || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/depdemo-exec.test b/tests/depdemo-exec.test index dabc06e5..b299c4cb 100755 --- a/tests/depdemo-exec.test +++ b/tests/depdemo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../depdemo/depdemo; then : +if test -f ../depdemo/depdemo$EXEEXT; then : else echo "You must run depdemo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/depdemo-inst.test b/tests/depdemo-inst.test index 7a379cfa..85c73b3f 100755 --- a/tests/depdemo-inst.test +++ b/tests/depdemo-inst.test @@ -11,7 +11,7 @@ fi . $srcdir/defs || exit 1 # Check that things are built. -if test -f ../depdemo/depdemo; then : +if test -f ../depdemo/depdemo$EXEEXT; then : else echo "You must run depdemo-make.test before $0" 1>&2 exit 77 diff --git a/tests/depdemo-nofast.test b/tests/depdemo-nofast.test index 861b9e05..a8f4861d 100755 --- a/tests/depdemo-nofast.test +++ b/tests/depdemo-nofast.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../depdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${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 --enable-fast-install=no || exit 1 if grep '^hardcode_action=relink' libtool > /dev/null; then rm -f Makefile && exit 77 diff --git a/tests/depdemo-shared.test b/tests/depdemo-shared.test index b2228e7f..d4e593ee 100755 --- a/tests/depdemo-shared.test +++ b/tests/depdemo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${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 --disable-static || exit 1 if grep '^build_old_libs=no' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/depdemo-static.test b/tests/depdemo-static.test index 24a18709..e889822d 100755 --- a/tests/depdemo-static.test +++ b/tests/depdemo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${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 --disable-shared || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=no' libtool > /dev/null; then : diff --git a/tests/f77demo-conf.test b/tests/f77demo-conf.test index 891b8df3..23d7af7b 100755 --- a/tests/f77demo-conf.test +++ b/tests/f77demo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../f77demo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix || exit 1 if $EGREP '^build_old_libs=yes' libtool > /dev/null && $EGREP '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/f77demo-exec.test b/tests/f77demo-exec.test index 5faa07de..ac6b8534 100755 --- a/tests/f77demo-exec.test +++ b/tests/f77demo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../f77demo/fprogram && test -f ../f77demo/cprogram; then : +if test -f ../f77demo/fprogram$EXEEXT && test -f ../f77demo/cprogram$EXEEXT; then : else echo "You must run f77demo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/f77demo-shared.test b/tests/f77demo-shared.test index 6363ac92..a54eeec8 100755 --- a/tests/f77demo-shared.test +++ b/tests/f77demo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../f77demo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-static || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-static || exit 1 if $EGREP '^build_old_libs=no' libtool > /dev/null && $EGREP '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/f77demo-static.test b/tests/f77demo-static.test index 2f145cdc..3e710366 100755 --- a/tests/f77demo-static.test +++ b/tests/f77demo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../f77demo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-shared || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-shared || exit 1 if $EGREP '^build_old_libs=yes' libtool > /dev/null && $EGREP '^build_libtool_libs=no' libtool > /dev/null; then : diff --git a/tests/mdemo-conf.test b/tests/mdemo-conf.test index 39ef1c9c..acfe747d 100755 --- a/tests/mdemo-conf.test +++ b/tests/mdemo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../mdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/mdemo-exec.test b/tests/mdemo-exec.test index c0969b54..26834b3d 100755 --- a/tests/mdemo-exec.test +++ b/tests/mdemo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../mdemo/mdemo; then : +if test -f ../mdemo/mdemo$EXEEXT; then : else echo "You must run mdemo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/mdemo-inst.test b/tests/mdemo-inst.test index 7c9ea38c..2e02e2c6 100755 --- a/tests/mdemo-inst.test +++ b/tests/mdemo-inst.test @@ -11,7 +11,7 @@ fi . $srcdir/defs || exit 1 # Check that things are built. -if test -f ../mdemo/mdemo; then : +if test -f ../mdemo/mdemo$EXEEXT; then : else echo "You must run mdemo-make.test before $0" 1>&2 exit 77 diff --git a/tests/mdemo-shared.test b/tests/mdemo-shared.test index 9ece0f9a..b23a2348 100755 --- a/tests/mdemo-shared.test +++ b/tests/mdemo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../mdemo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-static || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-static || exit 1 if grep '^build_old_libs=no' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/mdemo-static.test b/tests/mdemo-static.test index e17268d7..6e029229 100755 --- a/tests/mdemo-static.test +++ b/tests/mdemo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../mdemo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-shared || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-shared || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=no' libtool > /dev/null; then : diff --git a/tests/pdemo-conf.test b/tests/pdemo-conf.test index 67662b65..655b8183 100755 --- a/tests/pdemo-conf.test +++ b/tests/pdemo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../pdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../pdemo/configure --srcdir=$srcdir/../pdemo --prefix=$prefix || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../pdemo/configure --srcdir=$srcdir/../pdemo --prefix=$prefix || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/pdemo-exec.test b/tests/pdemo-exec.test index 9b03fe5a..64d129c1 100755 --- a/tests/pdemo-exec.test +++ b/tests/pdemo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../pdemo/hell; then : +if test -f ../pdemo/hell$EXEEXT; then : else echo "You must run pdemo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/pdemo-inst.test b/tests/pdemo-inst.test index d7cec539..9310356e 100755 --- a/tests/pdemo-inst.test +++ b/tests/pdemo-inst.test @@ -11,7 +11,7 @@ fi . $srcdir/defs || exit 1 # Check that things are built. -if test -f ../pdemo/hell; then : +if test -f ../pdemo/hell$EXEEXT; then : else echo "You must run pdemo-make.test before $0" 1>&2 exit 77 diff --git a/tests/tagdemo-conf.test b/tests/tagdemo-conf.test index fc40052d..06edb6ef 100755 --- a/tests/tagdemo-conf.test +++ b/tests/tagdemo-conf.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../tagdemo (prefix=$prefix)" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/tagdemo-exec.test b/tests/tagdemo-exec.test index 21db056d..a72636e5 100755 --- a/tests/tagdemo-exec.test +++ b/tests/tagdemo-exec.test @@ -10,7 +10,7 @@ if test -z "$srcdir"; then fi . $srcdir/defs || exit 1 -if test -f ../tagdemo/tagdemo; then : +if test -f ../tagdemo/tagdemo$EXEEXT; then : else echo "You must run tagdemo-make.test before running $0" 1>&2 exit 77 diff --git a/tests/tagdemo-shared.test b/tests/tagdemo-shared.test index d464bbc5..46c06992 100755 --- a/tests/tagdemo-shared.test +++ b/tests/tagdemo-shared.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../tagdemo (prefix=$prefix) with --disable-static" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-static || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-static || exit 1 if grep '^build_old_libs=no' libtool > /dev/null && grep '^build_libtool_libs=yes' libtool > /dev/null; then : diff --git a/tests/tagdemo-static.test b/tests/tagdemo-static.test index 792cb291..9f6d8560 100755 --- a/tests/tagdemo-static.test +++ b/tests/tagdemo-static.test @@ -25,7 +25,7 @@ rm -f config.cache # Configure the demonstration. echo "= Configuring in ../tagdemo (prefix=$prefix) with --disable-shared" -CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-shared || exit 1 +${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-shared || exit 1 if grep '^build_old_libs=yes' libtool > /dev/null && grep '^build_libtool_libs=no' libtool > /dev/null; then : |