On 07/15/2015 02:34 AM, Yvan Roux wrote:
Hi,

(Sorry for the delay I'm just back from a long sick leave)

There is this old patch submitted by Matthias on that same issue, if
its logic is the right one for you Joseph I can rebase/validate it
Joseph.

https://gcc.gnu.org/ml/gcc-patches/2012-02/msg00320.html

Yes, that seems better.

I've rebased the patch on trunk, bootstrap is ok and when configuring
with options:
"--with-sysroot=/ --with-gxx-include-dir=/usr/include/c++/4.9.2"
gcc_gxx_include_dir keeps its leading slash.

Is it ok for trunk ?

Thanks,
Yvan


2015-07-15  Yvan Roux  <yvan.r...@linaro.org>
                   Matthias Klose  <d...@ubuntu.com>

        * configure.ac: Move AC_ARG_WITH checks for native-system-header-dir,
        build-sysroot, sysroot from the `Miscenalleous configure options'
        to the `Directories' section and strip trailing `/' from with_sysroot.
        (gcc_gxx_include_dir): Don't strip a `/' sysroot value.
        * configure: Regenerated.
OK.
jeff

Reply via email to