]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
screen: Resolve configure unrecognised option(s)
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 29 Apr 2026 17:50:30 +0000 (19:50 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Apr 2026 19:47:53 +0000 (19:47 +0000)
- 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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/screen

index 5c7201985630e4a5ffe88b61acc8a2c88f3c216f..2fa597104a32a0036e2bcc72b9f936e163b71b50 100644 (file)
@@ -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