diff mbox series

libgm2: Remove 'autogen.sh' (was: libgm2: Adjust 'autogen.sh' to 'ACLOCAL_AMFLAGS', and simplify)

Message ID 87a5yeapdt.fsf@euler.schwinge.homeip.net
State New
Headers show
Series libgm2: Remove 'autogen.sh' (was: libgm2: Adjust 'autogen.sh' to 'ACLOCAL_AMFLAGS', and simplify) | expand

Commit Message

Thomas Schwinge May 8, 2023, 2:06 p.m. UTC
Hi!

On 2023-04-14T13:49:20+0100, Gaius Mulley via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> Thomas Schwinge <thomas@codesourcery.com> writes:
>> Separately, given that plain 'autoreconf' works, why have 'autogen.sh' at
>> all?
>
> If autoreconf does the same as autogen.sh then yes this can be removed

Pushed to master branch commit bd6dbdb196da5aa5c7354e0fc7b0a146237bcf8a
"libgm2: Remove 'autogen.sh'".


> (or its contents replaced with a call to autoreconf perhaps?),

I didn't see any advantage in that.


Grüße
 Thomas


-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

Comments

Gaius Mulley May 11, 2023, 11:26 a.m. UTC | #1
Thomas Schwinge <thomas@codesourcery.com> writes:

> Hi!
>
> On 2023-04-14T13:49:20+0100, Gaius Mulley via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
>> Thomas Schwinge <thomas@codesourcery.com> writes:
>>> Separately, given that plain 'autoreconf' works, why have 'autogen.sh' at
>>> all?
>>
>> If autoreconf does the same as autogen.sh then yes this can be removed
>
> Pushed to master branch commit bd6dbdb196da5aa5c7354e0fc7b0a146237bcf8a
> "libgm2: Remove 'autogen.sh'".
>
>
>> (or its contents replaced with a call to autoreconf perhaps?),
>
> I didn't see any advantage in that.
>
>
> Grüße
>  Thomas

thank you!

regards,
Gaius
diff mbox series

Patch

From bd6dbdb196da5aa5c7354e0fc7b0a146237bcf8a Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
Date: Mon, 8 May 2023 15:53:47 +0200
Subject: [PATCH] libgm2: Remove 'autogen.sh'

... given that plain 'autoreconf' achieves the same.

	libgm2/
	* autogen.sh: Remove.
---
 libgm2/autogen.sh | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100755 libgm2/autogen.sh

diff --git a/libgm2/autogen.sh b/libgm2/autogen.sh
deleted file mode 100755
index 1b144970a570..000000000000
--- a/libgm2/autogen.sh
+++ /dev/null
@@ -1,30 +0,0 @@ 
-#!/bin/sh
-
-# autogen.sh regenerate the autoconf files.
-#   Copyright 2013-2022  Free Software Foundation, Inc.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING3.  If not see
-# <http://www.gnu.org/licenses/>.
-
-rm -rf autom4te.cache
-
-# libtoolize
-rm -f aclocal.m4
-aclocal -I .. -I ../config
-autoreconf -I .. -I ../config
-automake --include-deps
-
-rm -rf autom4te.cache
-
-exit 0
-- 
2.39.2