]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/*.test: MinGW's MSYS treats files under /dev
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Mon, 18 Nov 2002 15:37:05 +0000 (15:37 +0000)
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Mon, 18 Nov 2002 15:37:05 +0000 (15:37 +0000)
specially. This causes 'test -r /dev/null/config/site' to
improperly report success, causing configure to fail. Change the
CONFIG_SITE definition from "/dev/null/config/site" to
"/nonexistent" to avoid this problem.

24 files changed:
ChangeLog
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

index 4257deee25bbb437642ed6d051442054f62f2995..55bf8ae815ffc2a1d5b499e93e8e32e462f338f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-11-18  Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
+       * tests/*.test: MinGW's MSYS treats files under /dev
+       specially. This causes 'test -r /dev/null/config/site' to
+       improperly report success, causing configure to fail. Change the
+       CONFIG_SITE definition from "/dev/null/config/site" to
+       "/nonexistent" to avoid this problem.
+
 2002-11-18  Charles Wilson  <cwilson@ece.gatech.edu>
 
        * libtool.m4 (_LT_AC_LOCK): remove support for ancient
index ac5689cad98ff9a6da0bd98f6a7063f92ae56cef..71928306a9c148b57557976857bcf693aff34f3e 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../cdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 646dcdaee26ac0fdc8c44478c38b2042f3ecdfd6..a70600d365dfa5fac4f637706a84c3a91fc8b8e4 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../cdemo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-static || exit 1
 
 if egrep '^build_old_libs=no' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 1a40259c7cfe6d95e4f72993da59e3469754216c..1c6c490cd84852d1f958921d71e21eeab9c5b61c 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../cdemo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-shared || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=no' libtool > /dev/null; then :
index f8c58f18628a4419b363cdb4e46b1f98aa826db0..78e9d2cc5f514fe4baadd6061fc548fbdd585b3a 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 450e9fe95db76ae17799befdbf23cb58423e9850..0606dbe23f4b6c247d2abd8706f5fb5637bc8e14 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --enable-fast-install=no || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --enable-fast-install=no || exit 1
 
 if egrep '^hardcode_action=relink' libtool > /dev/null; then
   rm -f Makefile && exit 77
index aea98c854eeb1ce445cbe75834dd74be9ca36762..5773736b5dc930f43245ec4dc53ba7b536124f01 100755 (executable)
@@ -25,6 +25,6 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --without-pic"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=no || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=no || exit 1
 
 exit 0
index 79c637dac942b3d3df75aebac3c96d23346b5f77..794295cc503a60f7dbe27cd0d116659f07b4ef2a 100755 (executable)
@@ -25,6 +25,6 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --with-pic"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=yes || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --with-pic=yes || exit 1
 
 exit 0
index 4832be8a2ac453ad529b17b2755fe015f7f51ffb..198c5ecfd48806aeda94a057c540c9cf92c221eb 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-static || exit 1
 
 if egrep '^build_old_libs=no' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 81c2a143687440012e658c32f18e855e802c47ea..0d376b448a7e568eb0ed36948dc1120dde8573af 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../demo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../demo/configure --srcdir=$srcdir/../demo --prefix=$prefix --disable-shared || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=no' libtool > /dev/null; then :
index 0f55e4374b88a415359ad34c075c8985219f278c..382508dbf7fddfc3ff82a6537ff9e1f7e852c78c 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 04b3a4b17f436af7037366882d370a0e89cb0606..9b27ac9ba2f82c5bc56dd24550d56c92a928f656 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --enable-fast-install=no || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --enable-fast-install=no || exit 1
 
 if egrep '^hardcode_action=relink' libtool > /dev/null; then
   rm -f Makefile && exit 77
index cd4e72e0b4f29cd4a78bdefaf8f26823e1f2796c..4e6d58e61d0f6647eacc97297ee81a53897543e9 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-static || exit 1
 
 if egrep '^build_old_libs=no' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index ca167b4629f9764a379fa43d308ea90b99931e28..4d5dc3d06234e41b0ae4037af0fbb8f785ced469 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../depdemo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../depdemo/configure --srcdir=$srcdir/../depdemo --prefix=$prefix --disable-shared || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=no' libtool > /dev/null; then :
index a5c08a6d9c30de140178485b9a5ba181fe5d759e..95c1a6e1fb9099dbcb89b9a0bae527d12ada5a5a 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../f77demo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${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 :
index ed50e0a3ad2695848401431d1cf9c5ba206fe5f0..7a2ab1773aa602c5c5701df16801105020098e00 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../f77demo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${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 :
index 1000c370df360b36bd2968c5bc4385f822845ba4..07d153a1ae7d5a7ee1ebb9510acaf47b12899f4b 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../f77demo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../f77demo/configure --srcdir=$srcdir/../f77demo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${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 :
index 17a3c2d14e51e9f9df5747d28914d5dde10567c0..4b46e203499169e3b0c7b5fc761b9801122beab8 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../mdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 6878275ba9b9f640a7039013d8ad3de78a918f9a..16b05a28a88312a69dbcc591ec46eb4ea5c93d60 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../mdemo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-static || exit 1
 
 if egrep '^build_old_libs=no' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index da3aa7697049358c7f22f1beb6a609886bba3572..981516c09a76b3baee2f13a229b364905088b0e6 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../mdemo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../mdemo/configure --srcdir=$srcdir/../mdemo --prefix=$prefix --disable-shared || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=no' libtool > /dev/null; then :
index 2ad0aac1fa0746c303b8524835108318e1ef53a3..312dde5251552c1f1d615e7faee2bd014450f601 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../pdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../pdemo/configure --srcdir=$srcdir/../pdemo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../pdemo/configure --srcdir=$srcdir/../pdemo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 572e6e8c2b46995afdf7e78a187f764ecf4b8cdd..807346f70338a68908df62c60ec227d268414989 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../tagdemo (prefix=$prefix)"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 46152263d2dc94076b9fc04cc90a317f4a0699b1..79d696d817d6ebcc819d2eaf81657e5e8dd6929b 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../tagdemo (prefix=$prefix) with --disable-static"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-static || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-static || exit 1
 
 if egrep '^build_old_libs=no' libtool > /dev/null &&
    egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
index 9a5bcefe7a754c5ee409fcb8315b2d8c52120662..075fe3bd9213b756b42ba4bb91098986f4b86ae7 100755 (executable)
@@ -25,7 +25,7 @@ rm -f config.cache
 
 # Configure the demonstration.
 echo "= Configuring in ../tagdemo (prefix=$prefix) with --disable-shared"
-CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-shared || exit 1
+CONFIG_SITE=/nonexistent ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix --disable-shared || exit 1
 
 if egrep '^build_old_libs=yes' libtool > /dev/null &&
    egrep '^build_libtool_libs=no' libtool > /dev/null; then :