This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
small tweaks from Jarkko Hietaniemi <jhi@cc.hut.fi>
authorGurusamy Sarathy <gsar@cpan.org>
Sun, 12 Jul 1998 22:06:05 +0000 (22:06 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sun, 12 Jul 1998 22:06:05 +0000 (22:06 +0000)
p4raw-id: //depot/perl@1457

Configure
Makefile.SH
ext/Socket/Socket.xs
perl.c

index 938b4fb..8a06f64 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -11133,8 +11133,8 @@ for xxx in $known_extensions ; do
                esac
                ;;
        IPC/SysV|ipc/sysv)
-               case "$d_sem" in 
-               $define) avail_ext="$avail_ext $xxx" ;;
+               case "${d_msg}${d_sem}${d_shm}" in 
+               *"${define}"*) avail_ext="$avail_ext $xxx" ;;
                esac
                ;;
        *)      avail_ext="$avail_ext $xxx"
index f0a70e8..260c235 100644 (file)
@@ -380,10 +380,11 @@ preplibrary: miniperl lib/Config.pm $(plextract)
 # try 'make minitest' and/or commenting out the tests at the end of configpm.)
 lib/Config.pm: config.sh miniperl configpm
        $(LDLIBPTH) ./miniperl configpm tmp
-       sh mv-if-diff tmp lib/Config.pm
+       sh mv-if-diff tmp $@
 
 lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl minimod.pl lib/Config.pm
-       $(LDLIBPTH) ./miniperl minimod.pl > tmp && ( rm -f $@ ; mv tmp $@ )
+       $(LDLIBPTH) ./miniperl minimod.pl > tmp
+       sh mv-if-diff tmp $@
 
 lib/re.pm: ext/re/re.pm
        cat ext/re/re.pm > $@
index cefcb24..ec0f633 100644 (file)
@@ -14,7 +14,9 @@
 #  include <netinet/in.h>
 # endif
 #include <netdb.h>
-#include <arpa/inet.h>
+#ifdef I_ARPA_INET
+# include <arpa/inet.h>
+#endif
 #else
 #include "sockadapt.h"
 #endif
diff --git a/perl.c b/perl.c
index 72e2e38..329575a 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -1718,6 +1718,9 @@ moreswitches(char *s)
 #ifdef atarist
        printf("atariST series port, ++jrb  bammi@cadence.com\n");
 #endif
+#ifdef __BEOS__
+       printf("BeOS port Copyright Tom Spindler, 1997-1998\n");
+#endif
 #ifdef BINARY_BUILD_NOTICE
        BINARY_BUILD_NOTICE;
 #endif