From: Scott James Remnant Date: Sun, 14 Mar 2004 14:14:32 +0000 (+0000) Subject: * m4/ltmain.in: Only check precious_files_regex if it is not empty. X-Git-Tag: release-1-9b~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e666f9882946968e6d3f61aa82dca14f150904b4;p=thirdparty%2Flibtool.git * m4/ltmain.in: Only check precious_files_regex if it is not empty. --- diff --git a/ChangeLog b/ChangeLog index b34c3b7f2..dfe75e325 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-03-14 Scott James Remnant + + * m4/ltmain.in: Only check precious_files_regex if it is not empty. + 2004-03-14 Gary V. Vaughan * doc/libtool.texi (Autoconf and LTLIBOBJS): The correct version diff --git a/ltmain.in b/ltmain.in index d98308cca..c6dddff55 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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" ;;