Skip to content

configure.ac: fix --disable-static enabling static builds#4

Open
symphorien wants to merge 1 commit intohackerschoice:mainfrom
symphorien:static
Open

configure.ac: fix --disable-static enabling static builds#4
symphorien wants to merge 1 commit intohackerschoice:mainfrom
symphorien:static

Conversation

@symphorien
Copy link
Contributor

Thank you for reviving dsniff. I am a downstream distro maintainer (for NixOS) and the new maintainership is an occasion for me to propose autoconf improvements which would make building dsniff on NixOS easier.

The third argument of AC_ARG_ENABLE is an action executed when the flag --enable-static or --disable static is specified with any value, not an action taken when the flag is set to true/yes. So --disable-static would enable static builds unconditionally.

The third argument of AC_ARG_ENABLE is an action executed when the flag
--enable-static or --disable static is specified with any value, not an
action taken when the flag is set to true/yes. So --disable-static would
enable static builds unconditionally.
@SkyperTHC
Copy link
Member

SkyperTHC commented Dec 1, 2025

yepp. well spotted. thanks. Need valid GH signature to merge please. I'll merge it manually for now. thank you for packaging it for NixOS.

@symphorien
Copy link
Contributor Author

thank you for merging.

@symphorien symphorien closed this Dec 1, 2025
@SkyperTHC
Copy link
Member

uhh oh, did not work. see #5

@SkyperTHC SkyperTHC reopened this Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants