1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-10 01:12:02 +02:00

build: fix --enable-single-binary=hardlinks with dash

With dash as /bin/sh, you get the error
```
checking for sys/capability.h... yes
./configure: 95775: test: no: unexpected operator
checking for working fork... yes
```

* configure.ac: Use '=' in test for equality, not '==',
for POSIX shell compatibility.
* NEWS: Mention the build fix.
This commit is contained in:
Sam James
2026-02-08 00:25:40 +00:00
committed by Pádraig Brady
parent 1c4773e6ec
commit a72ad1216d
2 changed files with 6 additions and 1 deletions

5
NEWS
View File

@@ -7,6 +7,11 @@ GNU coreutils NEWS -*- outline -*-
'kill --help' now has links to valid anchors in the html manual.
[bug introduced in coreutils-9.10]
** Build-related
./configure --enable-single-binary=hardlinks is now supported on systems
with dash as the system shell at /bin/sh.
* Noteworthy changes in release 9.10 (2026-02-04) [stable]

View File

@@ -134,7 +134,7 @@ if test "$gl_single_binary" = 'symlinks' ||
fi
fi
AM_CONDITIONAL([SINGLE_BINARY], [test "$gl_single_binary" != no])
AM_CONDITIONAL([SINGLE_BINARY_HARD], [test "$gl_single_binary" == hardlinks])
AM_CONDITIONAL([SINGLE_BINARY_HARD], [test "$gl_single_binary" = hardlinks])
AC_ARG_ENABLE([bold-man-page-references],
[AS_HELP_STRING([--disable-bold-man-page-references],