logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

fix-autoreconf.patch (1292B)


  1. SPDX-FileCopyrightText: 2023 fosslinux <fosslinux@aussies.space>
  2. SPDX-FileCopyrightText: 2022 Thomas Schwinge <thomas@codesourcery.com>
  3. SPDX-License-Identifier: GPL-3.0-or-later
  4. Backport of commit 25861cf3a88a07c8dca3fb32d098c0ad756bbe38
  5. ====
  6. [PATCH] Make 'autoreconf' work for 'gcc', 'libobjc'
  7. With that, we may then run plain 'autoreconf' for all of GCC's subpackages,
  8. instead of for some of those (that don't use Automake) manually having to run
  9. the applicable combination of 'aclocal', 'autoconf', 'autoheader'.
  10. See also 'AC_CONFIG_MACRO_DIRS'/'AC_CONFIG_MACRO_DIR' usage elsewhere.
  11. --- gcc-10.4.0/gcc/configure.ac 2023-01-22 16:22:57.833166450 +1100
  12. +++ gcc-10.4.0/gcc/configure.ac 2023-01-22 16:23:08.971274603 +1100
  13. @@ -25,6 +25,7 @@
  14. AC_INIT
  15. AC_CONFIG_SRCDIR(tree.c)
  16. +AC_CONFIG_MACRO_DIRS([../config] [..])
  17. AC_CONFIG_HEADER(auto-host.h:config.in)
  18. gcc_version=`cat $srcdir/BASE-VER`
  19. --- gcc-10.4.0/libobjc/configure.ac 2023-01-22 16:23:42.648601085 +1100
  20. +++ gcc-10.4.0/libobjc/configure.ac 2023-01-22 16:23:28.937468262 +1100
  21. @@ -20,6 +20,7 @@
  22. AC_INIT(package-unused, version-unused,, libobjc)
  23. AC_CONFIG_SRCDIR([objc/objc.h])
  24. +AC_CONFIG_MACRO_DIRS([../config] [..])
  25. GCC_TOPLEV_SUBDIRS
  26. # We need the following definitions because AC_PROG_LIBTOOL relies on them