[patch #7357] fix quoting of arguments in configure

ygrek <[email protected]>
Newsgroups gmane.network.mldonkey.user
Message-ID <[email protected]>
URL:
  <http://savannah.nongnu.org/patch/?7357>

                 Summary: fix quoting of arguments in configure
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: ygrek
            Submitted on: Sun 24 Oct 2010 11:45:40 AM GMT
                Category: Bug fixes
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: ygrek
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently:
$ ./configure --enable-debug CC="gcc -mno-cygwin"
configure: error: unrecognized option: `-mno-cygwin'

After the patch:
$ ./configure --enable-debug CC="gcc -mno-cygwin"
Arguments to configure:  '--enable-option-checking=fatal' '--enable-debug'
'CC=gcc -mno-cygwin'

Patch:
diff --git configure configure
index b28956b..228dc2c 100755
--- configure
+++ configure
@@ -43,5 +43,5 @@ else
           echo "Running m4 to generate Makefile..."
           m4 Makefile.in > ../Makefile
        fi \
-    && ./configure --enable-option-checking=fatal $*
+    && ./configure --enable-option-checking=fatal "$@"
 fi





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7357>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.