]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/ltmain.in: Only check precious_files_regex if it is not empty.
authorScott James Remnant <scott@netsplit.com>
Sun, 14 Mar 2004 14:14:32 +0000 (14:14 +0000)
committerScott James Remnant <scott@netsplit.com>
Sun, 14 Mar 2004 14:14:32 +0000 (14:14 +0000)
ChangeLog
ltmain.in

index b34c3b7f299d5bd126f0182e299025bd64e41bd3..dfe75e32598ba8b793a42412bb2322b1d6654390 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d98308ccaa11ff619859349763d5c970610e1fda..c6dddff5548f85dd4d9ef163b49a4f48bb527016 100644 (file)
--- 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"
               ;;