freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 6f6ad87: * builds/unix/freetype2.m4: Fix help string


From: Werner Lemberg
Subject: [freetype2] master 6f6ad87: * builds/unix/freetype2.m4: Fix help string formatting.
Date: Fri, 16 Apr 2021 14:51:03 -0400 (EDT)

branch: master
commit 6f6ad876383694e0e50799a577f8a08241096faf
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    * builds/unix/freetype2.m4: Fix help string formatting.
    
    The indented `dnl` macros inserted unwanted horizontal space.
    
    Problem reported by Ozkan Sezer <sezeroz@gmail.com>.
---
 ChangeLog                |  8 ++++++++
 builds/unix/freetype2.m4 | 12 ++++++------
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 27144e8..44ba980 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-04-16  Werner Lemberg  <wl@gnu.org>
+
+       * builds/unix/freetype2.m4: Fix help string formatting.
+
+       The indented `dnl` macros inserted unwanted horizontal space.
+
+       Problem reported by Ozkan Sezer <sezeroz@gmail.com>.
+
 2021-04-16  Dominik Röttsches  <drott@chromium.org>
 
        [sfnt] Safeguard 'COLR' v1 layer extraction
diff --git a/builds/unix/freetype2.m4 b/builds/unix/freetype2.m4
index 3736d15..478a422 100644
--- a/builds/unix/freetype2.m4
+++ b/builds/unix/freetype2.m4
@@ -1,5 +1,5 @@
 # Configure paths for FreeType2
-# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
+# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
 #
 # Copyright (C) 2001-2021 by
 # David Turner, Robert Wilhelm, and Werner Lemberg.
@@ -15,32 +15,32 @@
 # generated by Autoconf, under the same distribution terms as the rest of
 # that program.
 #
-# serial 5
+# serial 6
 
 # AC_CHECK_FT2([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 # Test for FreeType 2, and define FT2_CFLAGS and FT2_LIBS.
-# MINIMUM-VERSION is what libtool reports; the default is `7.0.1' (this is
+# MINIMUM-VERSION is what libtool reports; the default is '7.0.1' (this is
 # FreeType 2.0.4).
 #
+# To make this code work with older autoconf versions, `AS_HELP_STRING` is
+# not quoted.
+#
 AC_DEFUN([AC_CHECK_FT2],
   [# Get the cflags and libraries from the freetype-config script
    #
    AC_ARG_WITH([ft-prefix],
-     dnl don't quote AS_HELP_STRING!
      AS_HELP_STRING([--with-ft-prefix=PREFIX],
                     [Prefix where FreeType is installed (optional)]),
      [ft_config_prefix="$withval"],
      [ft_config_prefix=""])
 
    AC_ARG_WITH([ft-exec-prefix],
-     dnl don't quote AS_HELP_STRING!
      AS_HELP_STRING([--with-ft-exec-prefix=PREFIX],
                     [Exec prefix where FreeType is installed (optional)]),
      [ft_config_exec_prefix="$withval"],
      [ft_config_exec_prefix=""])
 
    AC_ARG_ENABLE([freetypetest],
-     dnl don't quote AS_HELP_STRING!
      AS_HELP_STRING([--disable-freetypetest],
                     [Do not try to compile and run a test FreeType program]),
      [],



reply via email to

[Prev in Thread] Current Thread [Next in Thread]