This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/9] Allow GDB to build against unreleased Guile 2.2


Andy Wingo <wingo@igalia.com> writes:

> * gdb/configure:
> * gdb/configure.ac (try_guile_versions): Allow building with guile 2.2.
> ---
>  gdb/configure    | 5 +++--
>  gdb/configure.ac | 2 +-
>  2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/gdb/configure b/gdb/configure
> index fd61bb5..307c6c9 100755
> --- a/gdb/configure
> +++ b/gdb/configure
> @@ -3,7 +3,7 @@
>  # Generated by GNU Autoconf 2.64.
>  #
>  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
> -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
> +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2014 Free Software
>  # Foundation, Inc.
>  #
>  # This configure script is free software; the Free Software Foundation
> @@ -8750,7 +8750,8 @@ fi
>  
>  
>  
> -try_guile_versions="guile-2.0"
> +
> +try_guile_versions="guile-2.2 guile-2.0"
>  have_libguile=no
>  case "${with_guile}" in
>  no)
> diff --git a/gdb/configure.ac b/gdb/configure.ac
> index 494d711..ff84a2e 100644
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -1154,7 +1154,7 @@ AC_MSG_RESULT([$with_guile])
>  dnl We check guile with pkg-config.
>  AC_PATH_PROG(pkg_config_prog_path, pkg-config, missing)
>  
> -try_guile_versions="guile-2.0"
> +try_guile_versions="guile-2.2 guile-2.0"
>  have_libguile=no
>  case "${with_guile}" in
>  no)

Hi.

This is ok with two nits:

1) ChangeLog entries are included in the email as they appear in the file
itself (but not as a patch).  E.g., for future reference, replace

* gdb/configure:
* gdb/configure.ac (try_guile_versions): Allow building with guile 2.2.

with

2014-04-09  Andy Wingo  <wingo@igalia.com>

	* gdb/configure:
	* gdb/configure.ac (try_guile_versions): Allow building with guile 2.2.

I realize it can be cumbersome, but it's the convention we have.

2) The change to configure is small, so it's not a big a deal,
but, for reference sake, the convention here is to not include changes
to machine generated files in patches submitted to the list.
Plus I wouldn't expect a change to the Copyright year in configure.

---

As I say these are just nits, but they are community rules so I'm
obligated to forward them on.

btw, this patch is small enough to not require one, and while I wouldn't
doubt that you have a copyright assignment for Guile changes :-), do you
have one for gdb?  I can imagine having a blanket assignment for
everything, just checking.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]