From: Bill Allombert <ballombe@debian.org>
Date: Thu, 24 Nov 2022 08:54:45 +0000
Subject: Tweak config.guess/sub to use the autotools-dev version

Origin: Debian
Forwarded: not-needed
Last-Update: 2010-01-07

Tweak config.guess/sub to use the autotools-dev version if available.
===================================================================
---
 config.guess | 5 +++++
 config.sub   | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/config.guess b/config.guess
index dc84c68..8c69561 100755
--- a/config.guess
+++ b/config.guess
@@ -1,4 +1,9 @@
 #! /bin/sh
+# autotools-dev hack (<ballombe@debian.org>, Wed, 14 Nov 2001 10:13:10 +0100)
+if [ -x /usr/share/misc/config.guess ]; then
+   exec /usr/share/misc/config.guess "$@"
+fi
+
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
diff --git a/config.sub b/config.sub
index 2a55a50..efa8c64 100755
--- a/config.sub
+++ b/config.sub
@@ -1,4 +1,9 @@
 #! /bin/sh
+# autotools-dev hack (<ballombe@debian.org>, Wed, 14 Nov 2001 10:13:10 +0100)
+if [ -x /usr/share/misc/config.sub ]; then
+   exec /usr/share/misc/config.sub "$@"
+fi
+
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
