From e14b432345afa11548c7d4336ed9f101057ba680 Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Sun, 14 Mar 2004 14:18:10 +0000 Subject: [PATCH] * m4/ltmain.in: Only check precious_files_regex if it is not empty. --- ChangeLog | 4 ++++ ltmain.in | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfe5f1721..f0f429f31 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-05 David Edelsohn * libtool.m4: Disable building static libraries if building diff --git a/ltmain.in b/ltmain.in index 2af6ec929..3b7954971 100644 --- a/ltmain.in +++ b/ltmain.in @@ -3113,9 +3113,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" ;; -- 2.47.3