On Tue, Feb 18, 2020 at 09:27:12AM -0800, Paul Ramsey wrote:

> Could follow the pgsql project and just rewrite the thing (the config 
> program) in C and be done with it…

Escaping can also be done in POSIX shell, not a big deal.
Let's just understand what we really need. For instance,
how do we want the output of `geos-config --libs` look like,
when there's a space in the path ?

      0. -L/usr/local silly/lib -lgeos-3.9.0
      1. -L/usr/local\ silly/lib -lgeos-3.9.0
      2. -L"/usr/local silly/lib" -lgeos-3.9.0
      3. -L'/usr/local silly/lib' -lgeos-3.9.0

We got 0 before the change...

With c263a0f7 I went with option 1, and restored proper output in
presence of an exec_prefix.

--strk;
_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to