summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-24 13:21:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-24 13:21:23 +0000
commitc77b533b28c0662914d761b264c2238f98d272a4 (patch)
tree82eb19c8936475bee43cb1755354fe92e5a8a108 /hints
parent9faf41b626b963edb80798c7c7738bc20834dda2 (diff)
downloadperl-c77b533b28c0662914d761b264c2238f98d272a4.tar.gz
Factor the PERL_SYS_INIT() code, from Hugo van der Sanden.
p4raw-id: //depot/perl@10888
Diffstat (limited to 'hints')
-rw-r--r--hints/freebsd.sh1
-rw-r--r--hints/posix-bc.sh5
-rw-r--r--hints/sco.sh2
3 files changed, 5 insertions, 3 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 8eb6ac47b0..6a105fd170 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -123,6 +123,7 @@ case "$osvers" in
0*|1*|2*|3*) ;;
*)
+ ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
usenm=false
fi
diff --git a/hints/posix-bc.sh b/hints/posix-bc.sh
index 79742af02a..8a4f289a0b 100644
--- a/hints/posix-bc.sh
+++ b/hints/posix-bc.sh
@@ -19,10 +19,11 @@ esac
# -DPOSIX_BC
# -DUSE_PURE_BISON
# -D_XOPEN_SOURCE_EXTENDED alters system headers.
+# -DPERL_IGNORE_FPUSIG=SIGFPE
# Prepend your favorites with Configure -Dccflags=your_favorites
case "$ccflags" in
-'') ccflags='-K enum_long,llm_case_lower,llm_keep,no_integer_overflow -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED' ;;
-*) ccflags='$ccflags -Kenum_long,llm_case_lower,llm_keep,no_integer_overflow -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED' ;;
+'') ccflags='-K enum_long,llm_case_lower,llm_keep,no_integer_overflow -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DPERL_IGNORE_FPUSIG=SIGFPE' ;;
+*) ccflags='$ccflags -Kenum_long,llm_case_lower,llm_keep,no_integer_overflow -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DPERL_IGNORE_FPUSIG=SIGFPE' ;;
esac
# ccdlflags have yet to be determined.
diff --git a/hints/sco.sh b/hints/sco.sh
index 079ab78035..1d1d5c2788 100644
--- a/hints/sco.sh
+++ b/hints/sco.sh
@@ -112,7 +112,7 @@ then
else
###############################################################
# Need this in release 5 because of changed fpu exeption rules
- ccflags="$ccflags -D PERL_SCO5"
+ ccflags="$ccflags -D HAS_FPSETMASK"
###############################################################
# In Release 5, always compile ELF objects