This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add libsunmath (long double math library for Solaris,
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Feb 2000 23:01:35 +0000 (23:01 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 29 Feb 2000 23:01:35 +0000 (23:01 +0000)
SUNWspro cc only) awareness; fix various Solaris nits.

p4raw-id: //depot/metaconfig@5374

U/modified/libs.U
U/perl/i_sunmath.U [new file with mode: 0644]

index eafb292..99cad8c 100644 (file)
@@ -102,9 +102,7 @@ case "$libswanted" in
 esac
 ?X: libsocks has nasty naming.
 case "$usesocks" in
-$define)
-       libswanted="$libswanted socks5 socks5_sh"
-       ;;
+"$define") libswanted="$libswanted socks5 socks5_sh" ;;
 esac
 libsfound=''
 libsfiles=''
diff --git a/U/perl/i_sunmath.U b/U/perl/i_sunmath.U
new file mode 100644 (file)
index 0000000..38a96fd
--- /dev/null
@@ -0,0 +1,24 @@
+?RCS: $Id: i_sunmath.U,v $
+?RCS:
+?RCS: Copyright (c) 2000 Jarkko Hietaniemi
+?RCS:
+?RCS: You may distribute under the terms of either the GNU General Public
+?RCS: License or the Artistic License, as specified in the README file.
+?RCS:
+?MAKE:i_sunmath: Inhdr Hasfield
+?MAKE: -pick add $@ %<
+?S:i_sunmath:
+?S:    This variable conditionally defines the I_SUNMATH symbol, and indicates
+?S:    whether a C program should include <sunmath.h>.
+?S:.
+?C:I_SUNMATH:
+?C:    This symbol, if defined, indicates that <sunmath.h> exists and
+?C:    should be included.
+?C:.
+?H:#$i_sunmath I_SUNMATH               /**/
+?H:.
+?LINT:set i_sunmath
+: see if this is a sunmath.h system
+set sunmath.h i_sunmath
+eval $inhdr
+