about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 11:05:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-08 11:05:09 +0000
commit07bfb473922b873b58beb5e075776cf2897da92f (patch)
tree9f36f5c25fb0b54eba6e442b97d5309ed9629871
parentae14b1b6d6a8e3efc5f6a04a0b23807f0afe47a5 (diff)
downloadutmps-07bfb473922b873b58beb5e075776cf2897da92f.tar.gz
utmps-07bfb473922b873b58beb5e075776cf2897da92f.tar.xz
utmps-07bfb473922b873b58beb5e075776cf2897da92f.zip
bugfix: --with-?tmpd-socket configure options were ignored
-rw-r--r--AUTHORS1
-rwxr-xr-xconfigure4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index ad80171..45441cc 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,6 +3,7 @@ Main author:
 
 Contributors:
   Guillermo <gdiazhartusch@gmail.com>
+  Xavier Stonestreet <xstonestreet@gmail.com>
 
 Thanks to:
   A. Wilcox <AWilcox@Wilcox-Tech.com>
diff --git a/configure b/configure
index 0d9c8e0..954dccf 100755
--- a/configure
+++ b/configure
@@ -201,11 +201,11 @@ for arg ; do
     --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 ;;