summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <perl5@tux.freedom.nl>2023-04-28 17:47:54 +0200
committerH.Merijn Brand <perl5@tux.freedom.nl>2023-04-28 17:49:33 +0200
commit615e36588766a246d9d5f1bbd6065cc888a26df6 (patch)
tree59c3a684d2c5bb17519fdc36919ce01baa996e26 /Configure
parent201e363d2990fb2e2a8c4754fe56a8b9de86ee17 (diff)
downloadperl-615e36588766a246d9d5f1bbd6065cc888a26df6.tar.gz
Add sys/syscall.h probe
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/Configure b/Configure
index 7614257b65..0ad1dbe151 100755
--- a/Configure
+++ b/Configure
@@ -1071,6 +1071,7 @@ i_sysselct=''
i_sysstat=''
i_sysstatfs=''
i_sysstatvfs=''
+i_syssyscall=''
i_systimes=''
i_systypes=''
i_sysuio=''
@@ -19790,9 +19791,13 @@ eval $inlibc
set syscall d_syscall
eval $inlibc
+: see if this is a sys/syscall.h system
+set sys/syscall.h i_syssyscall
+eval $inhdr
+
: see if prototype for syscall is available
echo " "
-set d_syscallproto syscall $i_unistd unistd.h
+set d_syscallproto syscall $i_unistd unistd.h $i_syssyscall sys/syscall.h
eval $hasproto
: see if sysconf exists
@@ -25398,6 +25403,7 @@ i_syssockio='$i_syssockio'
i_sysstat='$i_sysstat'
i_sysstatfs='$i_sysstatfs'
i_sysstatvfs='$i_sysstatvfs'
+i_syssyscall='$i_syssyscall'
i_systime='$i_systime'
i_systimek='$i_systimek'
i_systimes='$i_systimes'