skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 47f03d87ad6d68e5e84dc013610c39747fd552b7
parent 2ed743528fbb9d4f39802cdf51d16dadf980d1a7
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri, 12 Aug 2016 16:07:54 +0000

 Redirections are hard for the BSD shells

Diffstat:
Mconfigure | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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