Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,9 @@ AC_DEFUN([EGG_CHECK_MODULE_SUPPORT],
Minix)
WEIRD_OS="no"
;;
GNU)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate configure for GNU/Hurd support

This new GNU) branch is only added to aclocal.m4, but the checked-in top-level configure script was not regenerated and still has no corresponding GNU) cases. Since users and CI invoke ./configure directly, GNU/Hurd builds will continue to take the old fallback path (WEIRD_OS=yes and default shared-library flags) unless they manually run autotools first; the repo's .github/workflows/misc.yml autotools check also runs misc/runautotools and fails on any resulting diff.

Useful? React with 👍 / 👎.

WEIRD_OS="no"
;;
*)
# QNX apparently supports dlopen()... Fallthrough.
if test -r /cmds; then
Expand Down Expand Up @@ -830,6 +833,10 @@ AC_DEFUN([EGG_CHECK_OS],
esac
AC_DEFINE(BIND_8_COMPAT, 1, [Define if running on macOS with dns.mod.])
;;
GNU)
SHLIB_CC="$CC -fPIC"
SHLIB_LD="$CC -shared -nostartfiles"
;;
*)
if test -r /cmds; then
# Probably QNX.
Expand Down