bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/19] aclocal.m4 (CF_WITH_ADA_SHAREDLIB): De-document option arg


From: G. Branden Robinson
Subject: [PATCH 02/19] aclocal.m4 (CF_WITH_ADA_SHAREDLIB): De-document option argument.
Date: Fri, 27 Oct 2023 11:43:20 -0500

The argument is not used to determine the shared object name, so stop
implying that it is.  It works like other Autoconf `--with` options.

Also tweak progress and help messages.  Make it clearer than this
configuration option is a matter of "Working with External Software" as
the GNU Autoconf manual puts it.)
---
 aclocal.m4 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 3b5b241b..7223793f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -9017,13 +9017,13 @@ AC_MSG_RESULT($ADA_OBJECTS)
 dnl ---------------------------------------------------------------------------
 dnl CF_WITH_ADA_SHAREDLIB version: 5 updated: 2018/07/21 19:10:35
 dnl ---------------------
-dnl Command-line option to specify if an Ada95 shared-library should be built,
+dnl Command-line option to specify if an Ada95 shared library should be built,
 dnl and optionally what its soname should be.
 AC_DEFUN([CF_WITH_ADA_SHAREDLIB],[
 AC_REQUIRE([CF_GNAT_PROJECTS])
-AC_MSG_CHECKING(if an Ada95 shared-library should be built)
+AC_MSG_CHECKING(whether to build an Ada95 shared library)
 AC_ARG_WITH(ada-sharedlib,
-       [  --with-ada-sharedlib=soname build shared-library (requires GNAT 
projects)],
+       [[  --with-ada-sharedlib    use GNAT project support to build Ada95 
shared library]],
        [with_ada_sharedlib=$withval],
        [with_ada_sharedlib=no])
 AC_MSG_RESULT($with_ada_sharedlib)
@@ -9032,7 +9032,7 @@ if test "x$with_ada_sharedlib" != xno
 then
        if test "x$cf_gnat_projects" != xyes
        then
-               AC_MSG_WARN(disabling shared-library since GNAT projects are 
not supported)
+               AC_MSG_WARN(disabling since GNAT projects are not supported)
                with_ada_sharedlib=no
        fi
 fi
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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