[Bug 706719] [PATCH] Quote autogen.sh arguments when passing to autogen_options

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 24 12:52:29 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706719
  GStreamer | common | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-08-24 19:52:26 UTC ---
Does this really make it work for you?

Quoting the "$@" makes it pass the first argument properly (and as a whole) to
the autogen_options subroutine in gst-autogen.sh, but then the argument
chunking is still lost when passing the arguments to configure. I made some
minimal test program, and I get this:


$ /tmp/autogen.sh liblua_LIBS='-llua5.1 -lm' foo bar
OPTION: liblua_LIBS=-llua5.1 -lm
+ passing argument liblua_LIBS=-llua5.1 -lm to configure
OPTION: foo
+ passing argument foo to configure
OPTION: bar
+ passing argument bar to configure
+ options passed to configure:  liblua_LIBS=-llua5.1 -lm foo bar
configure: ARG 1: liblua_LIBS=-llua5.1
configure: ARG 2: -lm
configure: ARG 3: foo
configure: ARG 4: bar

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list