This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The libcygipc doesn't really work with the Perl SysV IPC tests
[perl5.git] / hints / unicos.sh
index bff3b22..4e8e427 100644 (file)
@@ -14,9 +14,10 @@ ccflags="$ccflags -h matherror=errno"
 # (It gives int((2/3)*3) a chance to be 2, not 1. --jhi)
 # (but IEEE CPUs, IEEE/ieee/CPE1 CPUs should not have -h rounddiv,
 #  since the compiler on those CPUs doesn't even support the option.)
-case "`/etc/cpu -i|grep cfp`" in
-*"cfp")        ccflags="$ccflags -h rounddiv" ;;
-esac
+if /etc/cpu -i | grep -q cfp
+then
+    ccflags="$ccflags -h rounddiv"
+fi
 
 # Avoid an optimizer bug where a volatile variables
 # isn't correctly saved and restored --Mark P. Lutz 
@@ -39,6 +40,9 @@ d_setregid='undef'
 d_setreuid='undef'
 # No shared libraries.
 so='none'
+# No dynaloading.
+d_dlopen='undef'
+i_dlfcn='undef'
 # Threads call-back unit.
 cat > UU/usethreads.cbu <<'EOCBU'
 # This script UU/usethreads.cbu will get 'called-back' by Configure