* m4/ltmain.in: Only check precious_files_regex if it is not empty.

This commit is contained in:
Scott James Remnant 2004-03-14 14:14:32 +00:00
parent 65c6799bfd
commit e666f98829
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-03-14 Scott James Remnant <scott@netsplit.com>
* m4/ltmain.in: Only check precious_files_regex if it is not empty.
2004-03-14 Gary V. Vaughan <gary@gnu.org>
* doc/libtool.texi (Autoconf and LTLIBOBJS): The correct version

View File

@ -3216,9 +3216,11 @@ EOF
*.$objext)
;;
$output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
then
continue
if test "X$precious_files_regex" != "X"; then
if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
then
continue
fi
fi
removelist="$removelist $p"
;;