mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* 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.
This commit is contained in:
parent
c93daf5c91
commit
a91ddab4f6
@ -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
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user