From 064758bd9d9af074001320d0afd1a48e1c2a0f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Thu, 10 Feb 2005 17:25:56 +0000 Subject: handle --libtool in config scripts, better heuristics (\s+display...) --- check-multiarch-files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check-multiarch-files') diff --git a/check-multiarch-files b/check-multiarch-files index 9d200f9..6611774 100755 --- a/check-multiarch-files +++ b/check-multiarch-files @@ -32,8 +32,8 @@ while () { if (/.+[-_]config/ && $file_magic =~ /shell script/) { my $options; foreach (cat_($_)) { - foreach my $opt (qw(cflags libs ldflags cppflags libdir)) { - $options .= " --$opt" if /(\[--$opt\]|--$opt\s+[\#\[])/; + foreach my $opt (qw(cflags libs ldflags cppflags libdir libtool)) { + $options .= " --$opt" if /(\[--$opt\]|--$opt\s+([\#\[]|display))/; } } # run the script to find out any libdir dependent flags -- cgit v1.2.1