2009-05-28 Pierre Muller <muller@ics.u-strasbg.fr>

Paul Pluzhnikov  <ppluzhnikov@google.com>

	* configure.ac (!have_libpython): Add python-prettyprint source
	and object files.
	* configure: Regenerate.
	* python/python-prettyprint.c: Move "#ifdef HAVE_PYTHON" before
	python headers.
This commit is contained in:
Paul Pluzhnikov
2009-05-28 16:30:39 +00:00
parent b662cd9e98
commit 6bf0ce2bed
4 changed files with 18 additions and 8 deletions

4
gdb/configure vendored
View File

@@ -11907,8 +11907,8 @@ echo "${ECHO_T}${PYTHON_CFLAGS}" >&6
else
# Even if Python support is not compiled in, we need to have these files
# included in order to recognize the GDB command "python".
CONFIG_OBS="$CONFIG_OBS python.o python-value.o"
CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c"
CONFIG_OBS="$CONFIG_OBS python.o python-value.o python-prettyprint.o"
CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c python/python-prettyprint.c"
fi