This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
amigaos4: Configure: allow hinting sig_num_init
authorAndy Broad <andy@broad.ology.org.uk>
Thu, 13 Aug 2015 23:11:27 +0000 (19:11 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 5 Sep 2015 15:12:41 +0000 (11:12 -0400)
(And assumedly providing all the other related sig* values.)

Configure

index d0ebb2e..bf0095d 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -22008,6 +22008,8 @@ EOM
 esac
 
 : Trace out the files included by signal.h, then look for SIGxxx names.
+case "$sig_num_init" in
+'')
 if [ "X$fieldn" = X ]; then
        : Just make some guesses.  We check them later.
        xxx="$sysroot/usr/include/signal.h $sysroot/usr/include/sys/signal.h"
@@ -22271,6 +22273,8 @@ echo $sig_name | $awk \
 }'
 sig_size=`echo $sig_name | awk '{print NF}'`
 $rm -f signal signal.c signal.awk signal.lst signal_cmd
+;;
+esac
 
 : Check size of size
 echo " "