libsframe: include bfd/version.m4 for BFD_VERSION

Message ID ef693f78734ad647cb931ddd3eaedf2a.mforney@mforney.org
State New
Headers
Series libsframe: include bfd/version.m4 for BFD_VERSION |

Commit Message

Michael Forney April 30, 2026, 7:40 p.m. UTC
  libsframe/
        * configure.ac: Fix package version by including bfd/version.m4.
	* configure: Regenerate.

Signed-off-by: Michael Forney <mforney@mforney.org>
---
 libsframe/configure    | 20 ++++++++++----------
 libsframe/configure.ac |  1 +
 2 files changed, 11 insertions(+), 10 deletions(-)
  

Comments

H.J. Lu May 1, 2026, 2:35 a.m. UTC | #1
On Fri, May 1, 2026 at 3:53 AM Michael Forney <mforney@mforney.org> wrote:
>
> libsframe/
>         * configure.ac: Fix package version by including bfd/version.m4.
>         * configure: Regenerate.
>
> Signed-off-by: Michael Forney <mforney@mforney.org>
> ---
>  libsframe/configure    | 20 ++++++++++----------
>  libsframe/configure.ac |  1 +
>  2 files changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/libsframe/configure b/libsframe/configure
> index 5f7604e48d7..2bcb44fb572 100755
> --- a/libsframe/configure
> +++ b/libsframe/configure
> @@ -1,6 +1,6 @@
>  #! /bin/sh
>  # Guess values for system-dependent variables and create Makefiles.
> -# Generated by GNU Autoconf 2.69 for libsframe BFD_VERSION.
> +# Generated by GNU Autoconf 2.69 for libsframe 2.46.50.
>  #
>  #
>  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
> @@ -587,8 +587,8 @@ MAKEFLAGS=
>  # Identity of this package.
>  PACKAGE_NAME='libsframe'
>  PACKAGE_TARNAME='libsframe'
> -PACKAGE_VERSION='BFD_VERSION'
> -PACKAGE_STRING='libsframe BFD_VERSION'
> +PACKAGE_VERSION='2.46.50'
> +PACKAGE_STRING='libsframe 2.46.50'
>  PACKAGE_BUGREPORT=''
>  PACKAGE_URL=''
>
> @@ -1332,7 +1332,7 @@ if test "$ac_init_help" = "long"; then
>    # Omit some internal or obsolete options to make the list less imposing.
>    # This message is too long to be a string in the A/UX 3.1 sh.
>    cat <<_ACEOF
> -\`configure' configures libsframe BFD_VERSION to adapt to many kinds of systems.
> +\`configure' configures libsframe 2.46.50 to adapt to many kinds of systems.
>
>  Usage: $0 [OPTION]... [VAR=VALUE]...
>
> @@ -1403,7 +1403,7 @@ fi
>
>  if test -n "$ac_init_help"; then
>    case $ac_init_help in
> -     short | recursive ) echo "Configuration of libsframe BFD_VERSION:";;
> +     short | recursive ) echo "Configuration of libsframe 2.46.50:";;
>     esac
>    cat <<\_ACEOF
>
> @@ -1511,7 +1511,7 @@ fi
>  test -n "$ac_init_help" && exit $ac_status
>  if $ac_init_version; then
>    cat <<\_ACEOF
> -libsframe configure BFD_VERSION
> +libsframe configure 2.46.50
>  generated by GNU Autoconf 2.69
>
>  Copyright (C) 2012 Free Software Foundation, Inc.
> @@ -1922,7 +1922,7 @@ cat >config.log <<_ACEOF
>  This file contains any messages produced by compilers while
>  running configure, to aid debugging if configure makes a mistake.
>
> -It was created by libsframe $as_me BFD_VERSION, which was
> +It was created by libsframe $as_me 2.46.50, which was
>  generated by GNU Autoconf 2.69.  Invocation command line was
>
>    $ $0 $@
> @@ -4274,7 +4274,7 @@ fi
>
>  # Define the identity of the package.
>   PACKAGE='libsframe'
> - VERSION='BFD_VERSION'
> + VERSION='2.46.50'
>
>
>  cat >>confdefs.h <<_ACEOF
> @@ -13730,7 +13730,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
>  # report actual input values of CONFIG_FILES etc. instead of their
>  # values after options handling.
>  ac_log="
> -This file was extended by libsframe $as_me BFD_VERSION, which was
> +This file was extended by libsframe $as_me 2.46.50, which was
>  generated by GNU Autoconf 2.69.  Invocation command line was
>
>    CONFIG_FILES    = $CONFIG_FILES
> @@ -13796,7 +13796,7 @@ _ACEOF
>  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
>  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
>  ac_cs_version="\\
> -libsframe config.status BFD_VERSION
> +libsframe config.status 2.46.50
>  configured by $0, generated by GNU Autoconf 2.69,
>    with options \\"\$ac_cs_config\\"
>
> diff --git a/libsframe/configure.ac b/libsframe/configure.ac
> index 256f3cd8729..3d5998a356c 100644
> --- a/libsframe/configure.ac
> +++ b/libsframe/configure.ac
> @@ -18,6 +18,7 @@ dnl along with this program; see the file COPYING.  If not see
>  dnl <http://www.gnu.org/licenses/>.
>  dnl
>
> +m4_include([../bfd/version.m4])

Do you need to regenerate Makefile.in?

>  AC_INIT([libsframe], [BFD_VERSION])
>  AC_CONFIG_SRCDIR(sframe.c)
>
> --
> 2.49.0
>
  
Michael Forney May 1, 2026, 5:14 a.m. UTC | #2
H.J. Lu <hjl.tools@gmail.com> wrote:
> Do you need to regenerate Makefile.in?

No, I don't think it needs regeneration. At least, I don't see any
references to the unexpanded BFD_VERSION in there. I only have
automake 1.18 available on this system, so I can't say for sure,
but all the changes from regeneration with 1.18 seem unrelated.
  
H.J. Lu May 1, 2026, 5:44 a.m. UTC | #3
On Fri, May 1, 2026 at 1:14 PM Michael Forney <mforney@mforney.org> wrote:
>
> H.J. Lu <hjl.tools@gmail.com> wrote:
> > Do you need to regenerate Makefile.in?
>
> No, I don't think it needs regeneration. At least, I don't see any
> references to the unexpanded BFD_VERSION in there. I only have
> automake 1.18 available on this system, so I can't say for sure,
> but all the changes from regeneration with 1.18 seem unrelated.

Since configure now has ../bfd/version.m4 dependency,
Makefile.in should be regenerated.
  
Michael Forney May 1, 2026, 6:11 a.m. UTC | #4
H.J. Lu <hjl.tools@gmail.com> wrote:
> Since configure now has ../bfd/version.m4 dependency,
> Makefile.in should be regenerated.

Ah, I see. Sorry about that, I missed that change when looking
through the automake 1.18 diff.

I installed automake 15.1 manually and will send a v2 shortly.
  

Patch

diff --git a/libsframe/configure b/libsframe/configure
index 5f7604e48d7..2bcb44fb572 100755
--- a/libsframe/configure
+++ b/libsframe/configure
@@ -1,6 +1,6 @@ 
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libsframe BFD_VERSION.
+# Generated by GNU Autoconf 2.69 for libsframe 2.46.50.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@  MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='libsframe'
 PACKAGE_TARNAME='libsframe'
-PACKAGE_VERSION='BFD_VERSION'
-PACKAGE_STRING='libsframe BFD_VERSION'
+PACKAGE_VERSION='2.46.50'
+PACKAGE_STRING='libsframe 2.46.50'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1332,7 +1332,7 @@  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libsframe BFD_VERSION to adapt to many kinds of systems.
+\`configure' configures libsframe 2.46.50 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1403,7 +1403,7 @@  fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libsframe BFD_VERSION:";;
+     short | recursive ) echo "Configuration of libsframe 2.46.50:";;
    esac
   cat <<\_ACEOF
 
@@ -1511,7 +1511,7 @@  fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libsframe configure BFD_VERSION
+libsframe configure 2.46.50
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1922,7 +1922,7 @@  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libsframe $as_me BFD_VERSION, which was
+It was created by libsframe $as_me 2.46.50, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4274,7 +4274,7 @@  fi
 
 # Define the identity of the package.
  PACKAGE='libsframe'
- VERSION='BFD_VERSION'
+ VERSION='2.46.50'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13730,7 +13730,7 @@  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libsframe $as_me BFD_VERSION, which was
+This file was extended by libsframe $as_me 2.46.50, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13796,7 +13796,7 @@  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libsframe config.status BFD_VERSION
+libsframe config.status 2.46.50
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/libsframe/configure.ac b/libsframe/configure.ac
index 256f3cd8729..3d5998a356c 100644
--- a/libsframe/configure.ac
+++ b/libsframe/configure.ac
@@ -18,6 +18,7 @@  dnl along with this program; see the file COPYING.  If not see
 dnl <http://www.gnu.org/licenses/>.
 dnl
 
+m4_include([../bfd/version.m4])
 AC_INIT([libsframe], [BFD_VERSION])
 AC_CONFIG_SRCDIR(sframe.c)