From 94f7449c81d5c951656b38b29690c0b54fd6460e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 18 Aug 2010 22:57:46 +0000 Subject: [PATCH] PR python/11900: * configure: Rebuild. * configure.ac: Add install-python to CONFIG_INSTALL. * Makefile.in (install-python): New. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 2 ++ gdb/configure | 1 + gdb/configure.ac | 1 + 4 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcbff59..c35c47b 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-18 Doug Evans * gdb_assert.h (gdb_assert_not_reached): New macro. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 65eb1fe..36d12f7 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 485c904..5563bae 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 9595dae..4b779aa 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). -- 2.7.4