summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-08-12 16:07:54 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-08-12 16:07:54 +0000
commit47f03d87ad6d68e5e84dc013610c39747fd552b7 (patch)
tree84e47e847ded9cb7eeef5f215fd5246f849ae6f7
parent2ed743528fbb9d4f39802cdf51d16dadf980d1a7 (diff)
downloadskalibs-47f03d87ad6d68e5e84dc013610c39747fd552b7.tar.xz
Redirections are hard for the BSD shells
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 646cd32..062ff29 100755
--- a/configure
+++ b/configure
@@ -420,11 +420,11 @@ EOF
util_lib=
echo > $sysdeps/util.lib
- socket_lib=`trylibs lsock 'accessible socket functions' -lsocket -lnsl` 3>&1 || fail "$0: unable to determine socket.lib sysdep"
+ 3>&1 socket_lib=`trylibs lsock 'accessible socket functions' -lsocket -lnsl` || fail "$0: unable to determine socket.lib sysdep"
echo "$socket_lib" > $sysdeps/socket.lib
hasclock=true
- clock_lib=`trylibs clockrt 'clock_gettime()' -lrt` 3>&1 || hasclock=false
+ 3>&1 clock_lib=`trylibs clockrt 'clock_gettime()' -lrt` || hasclock=false
if $clockrt ; then
echo "$clock_lib" > $sysdeps/sysclock.lib
echo "$clock_lib" > $sysdeps/tainnow.lib
@@ -446,7 +446,7 @@ EOF
fi
hasspawn=true
- spawn_lib=`trylibs posixspawn 'posix_spawn()' -lrt` 3>&1 || hasspawn=false
+ 3>&1 spawn_lib=`trylibs posixspawn 'posix_spawn()' -lrt` || hasspawn=false
echo "$spawn_lib" > $sysdeps/spawn.lib
if $hasspawn ; then
echo 'posixspawn: yes' >> $sysdeps/sysdeps