tcp-wrappers.m4: Only look for TCP wrappers lib when requested
diff mbox series

Message ID 20180906155820.59424-1-steved@redhat.com
State New
Headers show
Series
  • tcp-wrappers.m4: Only look for TCP wrappers lib when requested
Related show

Commit Message

Steve Dickson Sept. 6, 2018, 3:58 p.m. UTC
TCP wrappers is a pretty old and obsolete technology.  The
support has be terminated in current distro release, so
only require the library to exist when asked for via the
--with-tcp-wrappers

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 aclocal/tcp-wrappers.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve Dickson Sept. 6, 2018, 6:06 p.m. UTC | #1
On 09/06/2018 11:58 AM, Steve Dickson wrote:
> TCP wrappers is a pretty old and obsolete technology.  The
> support has be terminated in current distro release, so
> only require the library to exist when asked for via the
> --with-tcp-wrappers
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed.... 

steved.
> ---
>  aclocal/tcp-wrappers.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/aclocal/tcp-wrappers.m4 b/aclocal/tcp-wrappers.m4
> index 35ac8e0..f5de8bc 100644
> --- a/aclocal/tcp-wrappers.m4
> +++ b/aclocal/tcp-wrappers.m4
> @@ -4,7 +4,7 @@ AC_DEFUN([AC_TCP_WRAPPERS],[
>    AC_ARG_WITH(tcp-wrappers,
>      [  --with-tcp-wrappers[[=PATH]]      Enable tcpwrappers support
>                   (optionally in PATH)],
> -    with_tcpw=$withval, with_tcpw=yes)
> +    with_tcpw=$withval, with_tcpw=no)
>          if test "x$with_tcpw" != "xno" ; then
>              saved_LIBS="$LIBS"
>              saved_LDFLAGS="$LDFLAGS"
>

Patch
diff mbox series

diff --git a/aclocal/tcp-wrappers.m4 b/aclocal/tcp-wrappers.m4
index 35ac8e0..f5de8bc 100644
--- a/aclocal/tcp-wrappers.m4
+++ b/aclocal/tcp-wrappers.m4
@@ -4,7 +4,7 @@  AC_DEFUN([AC_TCP_WRAPPERS],[
   AC_ARG_WITH(tcp-wrappers,
     [  --with-tcp-wrappers[[=PATH]]      Enable tcpwrappers support
                  (optionally in PATH)],
-    with_tcpw=$withval, with_tcpw=yes)
+    with_tcpw=$withval, with_tcpw=no)
         if test "x$with_tcpw" != "xno" ; then
             saved_LIBS="$LIBS"
             saved_LDFLAGS="$LDFLAGS"