Small bug in utmps configure script

From: Xavier Stonestreet <xstonestreet_at_gmail.com>
Date: Thu, 8 Apr 2021 06:37:57 +0200

Hello

As of version 0.1.0.0, utmps' configure script ignores the
--with-xtmpd-socket options.

Here is a small patch that fixes it:

--- utmps-0.1.0.0/configure 2020-12-28 15:42:20.000000000 +0100
+++ utmps-0.1.0.0/configure.new 2021-04-08 06:07:33.268605048 +0200
_at_@ -201,11 +201,11 @@
     --disable-libc-includes|--enable-libc-includes=no) libcincludes=false ;;
     --enable-nsss|--enable-nsss=yes) usensss=true ;;
     --disable-nsss|--enable-nsss=no) usensss=false ;;
+ --with-utmpd-socket=*) utmpdpath=${arg#*=} ;;
+ --with-wtmpd-socket=*) wtmpdpath=${arg#*=} ;;
     --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;;
     --host=*|--target=*) target=${arg#*=} ;;
     --build=*) build=${arg#*=} ;;
- --with-utmpd-socket=*) utmpdpath=${arg#*=} ;;
- --with-wtmpd-socket=*) wtmpdpath=${arg#*=} ;;
     -* ) echo "$0: unknown option $arg" ;;
     *=*) ;;
     *) target=$arg ;;
Received on Thu Apr 08 2021 - 04:37:57 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC