[10/12] screen: Resolve configure unrecognised option(s)
Commit Message
- 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(-)
@@ -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