* ltconfig.in: only load $cache_file if it's a regular file

This commit is contained in:
Pavel Roskin 2000-09-02 22:35:12 +00:00 committed by Alexandre Oliva
parent 098893dc99
commit f84b61cb49
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-09-02 Pavel Roskin <proski@gnu.org>
* ltconfig.in: only load $cache_file if it's a regular file
2000-09-02 Assar Westerlund <assar@sics.se>
* ltconfig.in: Add back ranlib calls for static libraries if there

View File

@ -410,7 +410,7 @@ exec 5>>./config.log
if test "X${LC_ALL+set}" = Xset; then LC_ALL=C; export LC_ALL; fi
if test "X${LANG+set}" = Xset; then LANG=C; export LANG; fi
if test -n "$cache_file" && test -r "$cache_file"; then
if test -n "$cache_file" && test -r "$cache_file" && test -f "$cache_file"; then
echo "loading cache $cache_file within ltconfig"
. $cache_file
fi