[Bug libstdc++/51368] New: libstdc++ python pretty printers should use --with-python-dir just like libjava

vapier at gentoo dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 22:02:00 GMT 2011


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: unassigned@gcc.gnu.org
        ReportedBy: vapier@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



More information about the Gcc-bugs mailing list