Re: Problem to build CVS head

Joel Brobecker
2009-09-10T04:01:09Z

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

> There's a missing update to gdb/configure.ac. Someone will check in a
> fix soon. If nobody beats me to it I will do it tomorrow.

Argh! Problem reproduced when building with --without-python, and fixed
with the attached patch. Thanks for reporting the issue.

--
Joel

[-- Attachment #2: python-rename-configury.diff --]
[-- Type: text/x-diff, Size: 1628 bytes --]

commit 844dd7cf19e634ee7e39e70f82c00e17de949641
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed Sep 9 20:56:25 2009 -0700

* configure.ac: Fix the names of the python source and object files
following the renaming done in an earlier change.
* configure: Regenerate.

diff --git a/gdb/configure b/gdb/configure
index 2691e33..99acc2f 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -9323,8 +9323,8 @@ $as_echo "${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 python-prettyprint.o"
- CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c python/python-prettyprint.c"
+ CONFIG_OBS="$CONFIG_OBS python.o py-value.o py-prettyprint.o"
+ CONFIG_SRCS="$CONFIG_SRCS python/python.c python/py-value.c python/py-prettyprint.c"
fi

diff --git a/gdb/configure.ac b/gdb/configure.ac
index aa0bf75..b31d9b7 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -683,8 +683,8 @@ if test "${have_libpython}" = yes; then
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 python-prettyprint.o"
- CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c python/python-prettyprint.c"
+ CONFIG_OBS="$CONFIG_OBS python.o py-value.o py-prettyprint.o"
+ CONFIG_SRCS="$CONFIG_SRCS python/python.c python/py-value.c python/py-prettyprint.c"
fi
AC_SUBST(PYTHON_CFLAGS)