[10/12] screen: Resolve configure unrecognised option(s)

Message ID 20260429175032.2811103-10-adolf.belka@ipfire.org
State Staged
Commit 08fdebd6c5398dc82e58460a43054c9f1a66783a
Headers
Series [01/12] dnsdist: Resolve configure unrecognised option(s) |

Commit Message

Adolf Belka 29 Apr 2026, 5:50 p.m. UTC
- configure: WARNING: unrecognized options: --with-socket-dir, --with-sys-screenrc
- In version 5.0.0 these were changed
- --with-socket-dir has been changed to --enable-socket-dir
- --with-sys-screenrc has been changed to --with-system_screenrc
- The default location for screenrc was what we had defined anyway so that was still
   specified in the version from 5.0.0 onwards.
- The global socket definition due to the unrecognised option becane a No value, so no
   socket location was defined at all. This now corrects that. This has been confirmed by
   looking at the configure status and confirming the directory now specified for the
   socket in the build log.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/screen | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/lfs/screen b/lfs/screen
index 5c7201985..2fa597104 100644
--- a/lfs/screen
+++ b/lfs/screen
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -73,8 +73,8 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && ./autogen.sh
 	cd $(DIR_APP) && ./configure \
 				--prefix=/usr \
-				--with-socket-dir=/var/run/screen \
-				--with-sys-screenrc=/etc/screenrc
+				--enable-socket-dir=/var/run/screen \
+				--with-system_screenrc=/etc/screenrc
 	cd $(DIR_APP) && sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/*
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install