From c2174464eb1d196d33a2d742897ef0d0433f1546 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 15 Jun 2022 17:00:02 +0300
Subject: [PATCH] minor tidy-up to configury.
---
autogen.sh | 8 +++-----
configure | 2 +-
configure.ac | 5 ++---
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 95f4886e..2b34753c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,11 +1,9 @@
#!/bin/sh
-#
set -e
-aclocal -I acinclude
-automake --foreign --include-deps --add-missing --copy
-autoconf
+"${ACLOCAL:-aclocal}" -I acinclude
+"${AUTOMAKE:-automake}" --foreign --include-deps --add-missing --copy
+"${AUTOCONF:-autoconf}"
-#./configure $*
echo "Now you are ready to run ./configure"
diff --git a/configure b/configure
index 0b47864c..291f88f4 100755
--- a/configure
+++ b/configure
@@ -11391,9 +11391,9 @@ LT_MAJOR=0
LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
LT_CURRENT=`expr $LT_MAJOR + $LT_AGE`
LT_REVISION=$INTERFACE_AGE
+LT_EXTRA=""
-LT_EXTRA=""
diff --git a/configure.ac b/configure.ac
index 0fbea839..1c05eda5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ m4_define([MINOR_VERSION_MACRO], [19])
m4_define([MICRO_VERSION_MACRO], [1])
AC_INIT([SDL2_ttf],
- MAJOR_VERSION_MACRO.MINOR_VERSION_MACRO.MICRO_VERSION_MACRO,
+ [MAJOR_VERSION_MACRO.MINOR_VERSION_MACRO.MICRO_VERSION_MACRO],
[https://github.com/libsdl-org/SDL_ttf/issues],
[SDL2_ttf])
AC_CONFIG_MACRO_DIR([acinclude])
@@ -41,10 +41,9 @@ LT_MAJOR=0
LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
LT_CURRENT=`expr $LT_MAJOR + $LT_AGE`
LT_REVISION=$INTERFACE_AGE
+LT_EXTRA=""
m4_pattern_allow([^LT_MAJOR$])
-LT_EXTRA="" dnl for OS2 dll name
-
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)