Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <007f01c4dad7$d7fb2200$0200000a@agamemnon> From: "Jon A. Lambert" To: "Cygwin Mail List" Subject: Another autotools wrapper problem and fix Date: Sun, 5 Dec 2004 09:36:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Okay this one is picking at gnits, but autoheader 1.9 will always issue a warning message when you ask it to produce warning message because the authoheader wrapper passes --warning= and -W as --warning=,blah,blah and -W,blah,blah instead of --warning=blah,blah and -Wblah,blah. Here's another patch. I think this works. -------------------- $ diff -ru autoheader-orig autoheader --- autoheader-orig 2003-12-02 01:21:50.001000000 -0500 +++ autoheader 2004-12-05 09:28:10.570940800 -0500 @@ -115,12 +115,14 @@ --warnings=* | -W?* ) - warnings=$warnings,$optarg + test $warnings && warnings=$warnings,$optarg + test -z $warnings && warnings=$optarg shift ;; --warnings | -W ) test $# = 1 && eval "$exit_missing_arg" shift - warnings=$warnings,$1 + test $warnings && warnings=$warnings,$1 + test -z $warnings && warnings=$1 shift ;; ------------------------------ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/