public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/114748] New: libcpp aclocal.m4 and configure incorrectly regenerated
@ 2024-04-16 22:07 clyon at gcc dot gnu.org
  2024-04-16 22:11 ` [Bug preprocessor/114748] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: clyon at gcc dot gnu.org @ 2024-04-16 22:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114748

            Bug ID: 114748
           Summary: libcpp aclocal.m4 and configure incorrectly
                    regenerated
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Running either 'autoreconf' or 'aclocal -I ../config' in libcpp/ generates
aclocal.m4 and configure scripts with slightly different contents from what is
currently in the repo:

diff --git a/libcpp/aclocal.m4 b/libcpp/aclocal.m4
index 4fc81709622..4d898ea2c97 100644
--- a/libcpp/aclocal.m4
+++ b/libcpp/aclocal.m4
@@ -26,6 +26,7 @@ m4_include([../config/lib-ld.m4])
 m4_include([../config/lib-link.m4])
 m4_include([../config/lib-prefix.m4])
 m4_include([../config/nls.m4])
+m4_include([../config/override.m4])
 m4_include([../config/po.m4])
 m4_include([../config/progtest.m4])
 m4_include([../config/warnings.m4])
diff --git a/libcpp/configure b/libcpp/configure
index 8a38c0546e3..930f2d59307 100755
--- a/libcpp/configure
+++ b/libcpp/configure
@@ -2670,6 +2670,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu



+
+
+
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   if test -f "$ac_dir/install-sh"; then


Are these files incorrect in the repo?

I tried to remove ../config/override.m4 and run either 'autoreconf' or 'aclocal
-I ../config', then the result is the same as what is in the repo: override.m4
is not needed by libcpp, but still analyzed by aclocal, and it does have a
sligh effect when generating configure.


Is the fix to commit the above differences, or is there another recipe to
regenerate these files?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-17 14:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 22:07 [Bug other/114748] New: libcpp aclocal.m4 and configure incorrectly regenerated clyon at gcc dot gnu.org
2024-04-16 22:11 ` [Bug preprocessor/114748] " pinskia at gcc dot gnu.org
2024-04-16 22:31 ` pinskia at gcc dot gnu.org
2024-04-16 22:49 ` [Bug preprocessor/114748] [14 Regression] " pinskia at gcc dot gnu.org
2024-04-16 22:55 ` pinskia at gcc dot gnu.org
2024-04-17  0:10 ` arsen at gcc dot gnu.org
2024-04-17  7:04 ` clyon at gcc dot gnu.org
2024-04-17  7:21 ` clyon at gcc dot gnu.org
2024-04-17 12:52 ` jakub at gcc dot gnu.org
2024-04-17 14:08 ` cvs-commit at gcc dot gnu.org
2024-04-17 14:09 ` clyon at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).