[ID 20000915.007] Not OK: perl v5.7.0 +DEVEL7092 on os2-64int-ld 2.30 '(UNINSTALLED)'
authorYitzchak Scott-Thoennes <sthoenna@efn.org>
Fri, 15 Sep 2000 07:19:57 +0000 (00:19 -0700)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 3 Oct 2000 02:08:29 +0000 (02:08 +0000)
Message-Id: <200009151419.e8FEJvE19796@garcia.efn.org>

p4raw-id: //depot/perl@7128

Configure
hints/os2.sh
os2/os2ish.h

index bae9ec1..b4eeb1f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Tue Sep 12 17:23:02 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Oct  3 05:08:05 EET DST 2000 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >/tmp/c1$$ <<EOF
@@ -11613,6 +11613,9 @@ EOM
 #ifdef __hpux
 #define strtoll __strtoll
 #endif
+#ifdef __EMX__
+#define strtoll _strtoll
+#endif
 #include <stdio.h>
 extern long long int strtoll(char *s, char **, int); 
 static int bad = 0;
@@ -11639,13 +11642,17 @@ int main() {
 EOCP
        set try
        if eval $compile; then
-               case "`./try`" in
+               yyy=`./try`
+               case "$yyy" in
                ok) echo "Your strtoll() seems to be working okay." ;;
                *) cat <<EOM >&4
 Your strtoll() doesn't seem to be working okay.
 EOM
                   d_strtoll="$undef"
                   ;;
+       else
+               echo "(I can't seem to compile the test program--assuming it doesn't)"
+               d_strtoll="$undef"
                esac
        fi
        ;;
index 6d33385..7a99de0 100644 (file)
@@ -249,6 +249,8 @@ nm_opt='-p'
 
 ####### We define these functions ourselves
 
+d_strtoll='define'
+d_strtoull='define'
 d_getprior='define'
 d_setprior='define'
 
index d6bf2df..c9719e6 100644 (file)
@@ -271,6 +271,8 @@ char *my_tmpnam (char *);
 #define isatty _isterm
 #define rand   random
 #define srand  srandom
+#define strtoll        _strtoll
+#define strtoull       _strtoull
 
 /*
  * fwrite1() should be a routine with the same calling sequence as fwrite(),