summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-02-01 19:26:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-02-01 19:26:22 +0000
commit39c64f2cc2f4aec17686afd158cc7fbd5d897153 (patch)
tree68a9681f1bf788bbd1d791b2a1f6ba5344f7fb6e
parentf2c9b3cb899555af1a295df7341afc1cf55f7c71 (diff)
downloadskalibs-39c64f2cc2f4aec17686afd158cc7fbd5d897153.tar.xz
Work around broken shells, including bash and dash. Yeah.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6cc4d50..5e9b713 100755
--- a/configure
+++ b/configure
@@ -319,7 +319,7 @@ trylibs () {
libfile="$2".lib
echo "Checking whether system has $3..."
shift 3
- if args=`iscached $name 3>&1 1>&4 4>&-` 4>&1 ; then :
+ if { args=`iscached $name 3>&1 1>&4 4>&-` ; } 4>&1 ; then :
elif args=`detectlibs "$name" "$@"` ; then
echo "${name}: yes" >> "${sysdeps}/sysdeps"
if test -z "$args" ; then