http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51368

             Bug #: 51368
           Summary: libstdc++ python pretty printers should use
                    --with-python-dir just like libjava
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vap...@gentoo.org


the libjava code already has a useful configure flag for controlling where its
python code is installed (--with-python-dir).  the libstdc++-v3 should use this
same flag so package maintainers need not set the same path in multiple places.

libjava/configure.ac:
default_python_dir="/share/gcc-`cat ${srcdir}/../gcc/BASE-VER`/python/libjava"

libstdc++-v3/python/Makefile.am:
pythondir = $(datadir)/gcc-$(gcc_version)/python

Reply via email to