GNOME Bugzilla – Bug 689516
autogen.sh does not pass all arguments correctly to configure
Last modified: 2012-12-04 13:50:06 UTC
Created attachment 230510 [details] [review] build: fix passing arguments to configure from autogen.sh Some arguments, such as CFLAGS="-g -O2" are not passed correctly to configure.
I think it should use "$@" to properly handle dirs with spaces in the name
Created attachment 230571 [details] [review] build: fix passing arguments to configure from autogen.sh (In reply to comment #1) > I think it should use "$@" to properly handle dirs with spaces in the name Yes. Sorry, I thought I had changed that. Do you have any idea what the use case is (if there is one) for $*? The only modules I've found so far which use it are g-o-a and udisks. I understand the difference between $* and $@, just not why one would use $* here...
No use case. Someone somewhere used $* because it sort of worked and these modules cut&pasted from the wrong place :)
(In reply to comment #2) > Do you have any idea what the use case is (if there is one) for $*? The only > modules I've found so far which use it are g-o-a and udisks. I understand the > difference between $* and $@, just not why one would use $* here... Because g-o-a and udisks have the same author. ;-)
(In reply to comment #3) > No use case. Someone somewhere used $* because it sort of worked and these > modules cut&pasted from the wrong place :) So what do you recommend?
(In reply to comment #5)> > So what do you recommend? Evan's last patch looks perfect. I was just answering to his question
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.