From: Tom Tromey Date: Wed, 18 Aug 2010 22:55:57 +0000 (+0000) Subject: PR python/11900: X-Git-Tag: gdb_7_2-2010-09-02-release~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15ef4f31403f5b2b6d18f4dcb785a0efacd52322;p=thirdparty%2Fbinutils-gdb.git PR python/11900: * configure: Rebuild. * configure.ac: Add install-python to CONFIG_INSTALL. * Makefile.in (install-python): New. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 558aedce7a3..0950f43e93d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2010-08-18 Tom Tromey + + PR python/11900: + * configure: Rebuild. + * configure.ac: Add install-python to CONFIG_INSTALL. + * Makefile.in (install-python): New. + 2010-08-14 Ulrich Weigand * arm-tdep.c (arm_push_dummy_call): Handle pointers to diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 65eb1feb750..36d12f7e2f4 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1037,6 +1037,8 @@ install-tui: $(INSTALL_DATA) $(srcdir)/gdb.1 \ $(DESTDIR)$(man1dir)/$$transformed_name.1 +install-python: + $(SHELL) $(srcdir)/../mkinstalldirs $(GDB_DATADIR)/python/gdb uninstall: force $(CONFIG_UNINSTALL) transformed_name=`t='$(program_transform_name)'; \ diff --git a/gdb/configure b/gdb/configure index 814fdb488f6..041ffc1dbea 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10918,6 +10918,7 @@ $as_echo "#define HAVE_PYTHON 1" >>confdefs.h CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)" CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)" CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)" + CONFIG_INSTALL="$CONFIG_INSTALL install-python" ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)" # Flags needed to compile Python code (taken from python-config --cflags). diff --git a/gdb/configure.ac b/gdb/configure.ac index 0647b1d29a1..b69c3b6dfa1 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -832,6 +832,7 @@ if test "${have_libpython}" != no; then CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)" CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)" CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)" + CONFIG_INSTALL="$CONFIG_INSTALL install-python" ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)" # Flags needed to compile Python code (taken from python-config --cflags).